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

XF 2.2 Master Style Alert - Highlight when you're editing a master template 1.1.1

Add-on xenforo 2

Ressources et modules complémentaires pour XenForo 2

Styles xenforo 2

Styles / Thèmes et apparence pour xenforo 2

Templates xenforo 2

Codes pour modifier les templates sur xenforo 2

Section Premium

Add-on et Styles pour membre Premium
Master Style Alert - Highlight when you're editing a master template 1.1.1

XF 2.2 Master Style Alert - Highlight when you're editing a master template 1.1.1

Catégorie Catégorie Add-Ons
Titre du sujet Titre du sujet Master Style Alert - Highlight when you're editing a master template 1.1.1
Auteur de la discussion Auteur de la discussion laurent68
Date de début Date de début
Réponses Réponses 1
Affichages Affichages 168
Réaction Réaction 0
Dernier message par Dernier message par laurent68

laurent68

Fondateur

Staff
fondateur
Réputation: 100%
Discussions
4 647
Messages
12 059
Solutions
81
J'aime
7 615
Points
198
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.

.gif


Télécharger V1.0 :
Vous devez répondre avant de pouvoir voir le contenu des données cachées.
Version 1.1 : Added support for master language highlighting :

.gif


Version 1.1.1 :

As phrase editing and searching is a bit different I've added additional highlighting to both the search results page and the actual edit screen to minimise the chance you accidentally make changes to master

.gif


Télécharger V1.1.1 :
Vous devez répondre avant de pouvoir voir le contenu des données cachées.
 
Ajout de la version 1.1.1 :)
 
Sujets similaires Les plus vues Voir plus
Retour
Haut Bas