1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Template Modification System (TMS) 1.3.1

Make styles without template edition! Make addons without template hooks!

  1. guiltar
    GitHub: https://github.com/guiltar/TMS

    Translations:
    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.

    Images

    1. Screenshot4.png
    2. Screenshot3.png
    3. Screenshot_1.png
    4. Screenshot_2.png
    5. Screenshot_3.png
    sgesvn, imspot, Vitaly and 42 others like this.

Recent Reviews

  1. masterchief
    masterchief
    5/5,
    Version: 1.3.1
    excellent addon
  2. Tize
    Tize
    5/5,
    Version: 1.3.1
    Thank you, installed and working!
  3. martyanov12
    martyanov12
    5/5,
    Version: 1.3.0
    Works fine :) (xF 1.3.0)
  4. younes
    younes
    1/5,
    Version: 1.3.0
    don't work correct on 1.2.5 :(
  5. MotMann
    MotMann
    1/5,
    Version: 1.3.0
    Bugs... don't work correct and if i deinstall, there SQL Problems.
  6. Tize
    Tize
    5/5,
    Version: 1.3.0
    Installed, works perfect on 1.2.3
  7. Tize
    Tize
    5/5,
    Version: 1.3 Beta
    Thanks.
  8. Tize
    Tize
    5/5,
    Version: 1.2.2
    Super, thanks!
  9. Shyuan
    Shyuan
    5/5,
    Version: 1.2.2
    I didn't understand how this works until recently I started to use a lot and undoing the previous direct template modifications and put them under TMS. Thank you so much to keep us hassle free! :) Now I see less red-named templates :P
  10. xIsabel38
    xIsabel38
    5/5,
    Version: 1.2.2
    A great Add-on that works wonderfully.