Master Style Alert - Highlight when you're editing a master template or master language

Master Style Alert - Highlight when you're editing a master template or master language 1.1.1

No permission to download
Compatible XF 2.x versions
  1. 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.

Highligting Master Templates:
master-style-alert.gif



Highlighting Master Language:
master-language.gif


phrase-search-and-edit.gif


Support
If you enjoy or find this add on useful please consider showing your support through coffee! 😃

Author
RobinHood
Downloads
19
Views
397
First release
Last update
Rating
5.00 star(s) 1 ratings

More resources from RobinHood

Latest updates

  1. Added warning to phrase search results and edit screen when all results are from master style

    As phrase editing and searching is a bit different I've added additional highlighting to both...
  2. Now highlights when editing viewing and editing the master language

    Added support for master language highlighting:

Latest reviews

Excellent addon. Does exactly as it says. Much needed if you’re often in debug mode, especially on test/dev sites.
RobinHood
RobinHood
Thanks Ozzy :)
Top