Quote:
Originally Posted by XTF
I've simplified the following code fragment a bit.
Code:
$blocklist['mymodification'] = array
(
'class' => 'MyModification',
'title' => 'My Modification',
'hook_location' => 'profile_left_last'
);
How do I access for example $userinfo inside prepare_output()? I've used global $userinfo, but that doesn't seem to do the trick.
|
Presuming you are referring to the user info of the profile and not the viewer.
Code:
$this->profile->userinfo