#DOSSIER_SQUELETTE (now deprecated by #CHEMIN) specifies the path name of the current squelettes (templates) directory being used.

  • New in : SPIP 1.8

SPIP 1.8.2 introduced the #DOSSIER_SQUELETTE tag to be able to develop template files that are easily transportable and exchangeable. It is used to obtain the path of the directory in which the currently used template file is stored.

You may also locate the "accessory" files (stylesheets, javascript, etc...) for the template into the template directory, and thereby make the template directory available as a ways of distributing your site templates to others who are interested. You could therefore write, for example, as a way to include a stylesheet stored in the standard template directory:
<link rel="stylesheet" href="#DOSSIER_SQUELETTE/my_style.css" type="text/css" />

Since SPIP 1.9, the #CHEMIN tag replaces and improves on #DOSSIER_SQUELETTE.

Author Mark Published : Updated : 26/10/12

Translations : català, English, Español, français, Nederlands