Resource icon

Unmaintained Template access for user upgrades and pages 1.0.0

No permission to download
Compatible XF 1.x versions
1.2, 1.3, 1.4
Creative Commons BY 3.0 license
Visible branding
Template access for user upgrades and pages

Addon presentation
This addon allows you to load a template you would have selected for the user upgrades description and for your pages/help pages content. See the attached screenshots: they only show an example for the user upgrades, but the system is the same for pages.

Once your content is inside a template, you can export it (through the XenForo addon system), so reuse it easily. You can also use all XenForo templates helper which is convenient. And of course, you can translate your pages or user upgrades thanks to the phrase system.

Available variables in your customized templates:
  • For pages:
    • $page, array
    • $bbCodeParser, object to use with the XenForo template helper 'bbCode'
  • For user upgrades:
    • $upgrade, array
    • $bbCodeParser, object to use with the XenForo template helper 'bbCode'
To dump a variable in a template, use the following helper:
{xen:helper dump, $yourVariable}
It will show the content of an array as well.

I've done this addon for my own needs. I share it because it might be useful for some of you. I will not support it. If you want to update it, add new functions, feel free to do it using the Creative Commons BY 3.0 license.
First release
Last update
0.00 star(s) 0 ratings

More resources from cclaerhout