grantus
Active member
I'm doing a callback in the member_view template:
I have my method:
Everything works except that the only issue is I need the user_id to be passed to getHtml. Is that possible?
Code:
<xf:callback class="\\ILL\\Controller\\Store" method="getHtml"></xf:callback>
I have my method:
Code:
public static function getHtml() {
// query
return \XF::app()->templater()->renderTemplate('public:store_view', $viewParams);
}
Everything works except that the only issue is I need the user_id to be passed to getHtml. Is that possible?