Adam K M
Active member
Hello,
I'm awfully new to extending controllers and the subview, and right now, from working with responseView, I was wondering - how do I go about accessing passed variables in my template that's rendered out from the response view?
The current responseView I've got looks like:
As you can see, I've got the account_guildarea template, but I don't know how to access the $viewParams from within that template.
Any help is greatly appreciated!
I'm awfully new to extending controllers and the subview, and right now, from working with responseView, I was wondering - how do I go about accessing passed variables in my template that's rendered out from the response view?
The current responseView I've got looks like:
PHP:
return $this->_getWrapper('XenForo_ViewPublic_Account_Guildarea', 'GuildArea', $this->responseView('GuildArea', 'account_guildarea', $viewParams) );
Any help is greatly appreciated!