SkelEditor 2.0 - online templates editor for SPIP

SkelEditor 2.0 is the new version for SPIP 2.1 & 3.* of the online templates editor plugin, that lets webmasters manage & modify their templates within the admin area, with no need for any FTP access.

This plugin lets you edit current template files from the admin area. This can be very useful when you need to upgrade a template or fix a bug and you don’t have any FTP access to the website.

Attention ! This is NOT a WYSIWYG UI, it simply offers a template code editor, embedded in your SPIP admin area.

New shortcut on public admin quick access bar

Plugin adds a new button named « Templates & CSS » (or « Debug > inclusion mode » if you’re using the MiniBando admin quick access bar).

It lists all included template files used by the current web page, plus all the CSS files linked to it :

Even if you happen to use SPIP’s CSS compression settings, SkelEditor will be able to find the original CSS files linked to your web page.

Hovering an included template’s name highlights the block generated by the template. It then becomes easy to find out which template really produces the part of the web page you want to modify.

You can then clic on the template’s name (or CSS file) you’re focused on, to access edition mode for that file, in the admin area.

Editing files with syntax highlighting

You’re editing your file in a text editor with matching, dedicated syntax highlighting.

If the file you’d like to edit happens to be a Plugin or a SPIP source file, it will be automatically saved as a working copy, in your own /squelettes template directory, with a comment header mentioning your name and the copy creation date.

Create ; move ; rename files

Admin UI also lets you create new files in your own /squelettes template directory

If you mention a filename with path, like modeles/exemple.html, sub-folders will be automaticaly created.

The same way you can also rename an existing file or, move it, mentioning a new path :

Upload

A button « Upload a file » lets you send a file from your device to your /squelettes template directory

Download

While editing a file, you can also download it with the dedicated button.

Discussion

Aucune discussion

Ajouter un commentaire

Avant de faire part d’un problème sur un plugin X, merci de lire ce qui suit :

  • Désactiver tous les plugins que vous ne voulez pas tester afin de vous assurer que le bug vient bien du plugin X. Cela vous évitera d’écrire sur le forum d’une contribution qui n’est finalement pas en cause.
  • Cherchez et notez les numéros de version de tout ce qui est en place au moment du test :
    • version de SPIP, en bas de la partie privée
    • version du plugin testé et des éventuels plugins nécessités
    • version de PHP (exec=info en partie privée)
    • version de MySQL / SQLite
  • Si votre problème concerne la partie publique de votre site, donnez une URL où le bug est visible, pour que les gens puissent voir par eux-mêmes.
  • En cas de page blanche, merci d’activer l’affichage des erreurs, et d’indiquer ensuite l’erreur qui apparaît.

Merci d’avance pour les personnes qui vous aideront !

Par ailleurs, n’oubliez pas que les contributeurs et contributrices ont une vie en dehors de SPIP.

Qui êtes-vous ?
[Se connecter]

Pour afficher votre trombine avec votre message, enregistrez-la d’abord sur gravatar.com (gratuit et indolore) et n’oubliez pas d’indiquer votre adresse e-mail ici.

Ajoutez votre commentaire ici

Ce champ accepte les raccourcis SPIP {{gras}} {italique} -*liste [texte->url] <quote> <code> et le code HTML <q> <del> <ins>. Pour créer des paragraphes, laissez simplement des lignes vides.

Ajouter un document

Suivre les commentaires : RSS 2.0 | Atom