XF2 Add-on Master Style Alert - Highlight when you're editing a master template 1.1.1

virgilio183

Well-known member
☆☆ Special ☆☆
☆ Pro ☆
Master
Joined
May 16, 2021
Messages
25,956
Reaction score
35,560
Points
113
NullCash
628,009
Compatible XF Versions 2.2 Visible Branding No



Do you frequently find yourself leaving development mode on and then accidentally end up editing master style templates in the templates section?

Frequently I find that I'm too much of an idiot to realise I'm editing master templates by mistake. Or I may be working on master templates for an add on and theme templates for other stuff, Before you know it, you've forgotten you're in master and saved a change and you've got nothing to revert to.

Now you too can be slightly less of an idiot and hopefully make fewer mistakes with Master Style Alert.

This small addon will make the style selector bright red when the Master Style is selected, warning you that you're currently editing the master style.

How do I use it?
Install the add on and it should activate. There are no settings.

Development mode must be enabled, which will allow selection of Master Style templates. When viewing these Master Style templates, the selector should turn red.
 

Attachments

  • Master Style Alert - Highlight when you're editing a master template or master language 1...zip
    19.7 KB · Views: 0
Top