ENXF NET
Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
- Joined
- Nov 13, 2018
- Messages
- 24,674
- Points
- 823
Reputation:
I'm doing a callback in the member_view template:
Code:
I have my method:
Code:
Everything works except that the only issue is I need the user_id to be passed to getHtml. Is that possible?
Continue reading...
Code:
<xf:callback class="\\ILL\\Controller\\Store" method="getHtml"></xf:callback>
I have my method:
Code:
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?
Continue reading...