Resource icon

xF1 Add-on Template Modification System (TMS) 1.3.1

No permission to download
If you want to re-arrange elements like message bar, you have to edit HTML templates. Normally, when you do this, the template is marked as modified, and if you upgrade xenforo, those modified template will not be upgraded.

This resource is a system that allow you to modify template without manual editing. You can search for elements in HTML templates and replace with the thing you want. This way you can save your time when you upgrade xenforo. This also improves performance compare to template hooks and is more flexible than template hooks.

Features:
  • Modifications of 3 types: search/replace, regular expression, php callback.
  • Default/Custom/Inherited modifications (just like templates).
  • Enable/Disable modifications.
  • Export/import modifications together with addon (just like templates).
  • Export/import modifications together with style (just like templates).
  • Integration with template's editing.
  • Advanced options for performance.
  • TMS-independent export of styles.
This Modifications Collectiondemonstrate how it works.
Also there is a guide Creating style without template edition.

The addon allows to make other addons using template modifications instead of hooks and to make styles without any template edition.

Feel free to modify, refactor and extend the addon.
  • Screenshot_1.png
    Screenshot_1.png
    67.6 KB · Views: 59
  • Screenshot_2.png
    Screenshot_2.png
    91.4 KB · Views: 57
  • Screenshot_3.png
    Screenshot_3.png
    21.6 KB · Views: 83
  • Screenshot3.png
    Screenshot3.png
    564 KB · Views: 54
  • Screenshot4.png
    Screenshot4.png
    90.9 KB · Views: 83
Author
Admin
Size
16.4 KB
Extension
zip
Downloads
31
Views
670
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from Admin

Similar resources

Reads cookies into template params, handles JSON cookies, template param {$pageName}
0.00 star(s) 0 ratings
Downloads
1
Updated
Pixel Guide Template AnimeHaxor
0.00 star(s) 0 ratings
Downloads
0
Updated
SVG as Templates, with a template helper which works in style properties.
0.00 star(s) 0 ratings
Downloads
3
Updated
Template Viewer
Want to test a template for an add-on you haven't built yet? View any template easily.
0.00 star(s) 0 ratings
Downloads
1
Updated
[n] Template Security AnimeHaxor
Enhance the security on your site for yourself and for your members.
0.00 star(s) 0 ratings
Downloads
13
Updated