Get profile id
Is there short code to get profile id for custom link in menus ?
-
-
·
LeonidS
- ·
Hello Hodor Hodor !
Instead of "2" you need to place the {profile_id} key.
-
·
LeonidS
-
- · Hodor Hodor
- ·
thanks
-
- · Hodor Hodor
- ·
it's not working, it goes to /page/posts-author?profile_id={profile_id}
-
Plz specify - on what page you want to see this menu point - {profile_id} works in connected "profile unit" areas?
-
- · Hodor Hodor
- ·
on view post page
i want to create see my posts link for per user
-
-
·
LeonidS
- ·
Then it will require to add new variable via the code. For example, {author_id}. Then add the processing in modules/boonex/posts/classes/BxPostsMenuView.php after the line like:
parent::__construct($aObject, $oTemplate);
need to add the new one like:
$this->addMarkers(array(
'author_id' => $this->_aContentInfo[$CNF['FIELD_AUTHOR']]
));
-
·
LeonidS