However $_nProfileID in the code below logs empty
function sdProfileRoute_init(){
jrCore_register_event_listener('jrCore', 'profile_template', 'sdProfileRoute_profile_template_listener');
return true;
}
function sdProfileRoute_profile_template_listener($_data, $_user, $_conf, $_args, $event)
{
$_sModule = "sdProfileRoute";
$_nProfileID = $_data['profile_id'];
//2017.03.11-14:00-CT: How to get the ProfileID currently being viewed?
jrCore_logger("INF",
$_sModule.":DEBUG:JS:2017.03.11-14:00:".$_nProfileID,
$_sModule);
}
How to get the ProfileID currently being viewed?
updated by @softdesigns: 06/17/17 08:48:32AM