Comment to Get profile id for person menu
-
It's like i want to see your profile info (https://una.io/page/persons-profile-info?id=895) but it shows mine https://una.io/page/persons-profile-info?id=526
this code:
$this->addMarkers(array(
'profile_id' => bx_get_logged_profile_id() -> get my p_id
));
i dont know php well but if u can pull the id from the url and put it there it should work
for example
$this->addMarkers(array(
var x = getIdFromUrl()
'profile_id' => x
));