G
G
Greg Plitt2016-04-29 16:26:44
PHP
Greg Plitt, 2016-04-29 16:26:44

Is it possible to make CNC in the Bitrix social network?

Good afternoon, happy holidays! Can anyone tell me if it is possible to convert ID to CODE in the following directions:
http://*****.ru/net/user/177/ I would like to have a profile without numbers _CODE
http://*****.ru/ net/group/25/ group _CODE would like to
http://*****.ru/net/user/177/blog/6/ - the name of the blog entry, in this case it should be http://**** *.ru/net/user/ivanov/blog/vchera-zakonc...
And it's very strange that you can't write a title for a blog entry, from which the URL would be converted
. There are no parameters in the infoblock settings, just as it was not possible to find them in the module itself .
Bitrix TP said that "Unfortunately, this feature is not implemented in the product."
But knowing how they often answer one-sidedly, I decided to ask a question here.
Is it possible to get confused with this and somehow set up the cnc system? Or then everything will definitely collapse, because the Web messenger for Bitrix (regular) will be used, and it picks up IDs ... or not?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey, 2016-05-04
@Logic87

At the expense of users - I will not prompt.
But for blogs:
you need to write blog categories in the admin panel in the following fields joxi.ru/L213WgRu6jpJMr.jpg
adding/editing a post joxi.ru/gmvjYM7IxEVb1m.jpg
SEF settings for the complex component Blog:
"SEF_URL_TEMPLATES" => array(
"index" = > "index.php",
"group" => "group/#group_id#/",
"blog" => "#blog#/",
"user" => "user/#user_id#/",
"user_friends" => "friends/#user_id#/",
"search" => "search.php",
"user_settings" => "#blog#/user_settings.php"
"blog_edit" => "#blog#/blog_edit.php",
"category_edit" => "#blog#/category_edit.php",
"post_edit" => "#blog#/post_edit.php?id=#post_id#" ,
"draft" => "#blog#/draft.php",
"moderation" => "#blog#/moderation.php",
"trackback" => POST_FORM_ACTION_URI."&blog=#blog#&id=#post_id#&page =trackback",
"post" => "#blog#/#post_id#/",
"post_rss" => "#blog#/rss/#type#/#post_id#",
"rss" => "#blog# /rss/#type#",
"rss_all" => "rss/#type#/#group_id#",
),

K
kompi, 2016-04-29
@kompi

In theory, such things should be solved quite simply through urlrewrite.php .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question