We need to cross-reference information in another database when displaying content on the profile page. Although the logged-in user's ID is available, the content needs to be that of the profile being viewed (not that of the user viewing it).
Hi MD,
You can use the following to get the profile ID when viewing an ES profile page.
[gist type="php"]
$id = $this->input->get('id', 0, 'int');
[/gist]
Just for your information, I have locked and marked this thread as resolved to avoid confusions in the future. Please start a new thread if you have any other issue in the future so it will be easier for us to manage your inquiries.