- Compatible XF 1.x versions
- 1.2
- 1.3
- 1.4
- License
- Creative Commons BY 3.0 license
- Visible branding
- No
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.
Purpose:
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:
It will show the content of an array as well.
Disclaimer
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.
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.
Purpose:
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'
Code:
{xen:helper dump, $yourVariable}
Disclaimer
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.