SPIP

[ar] [ast] [bg] [br] [ca] [co] [cpf] [cs] [da] [de] [en] [eo] [es] [eu] [fa] [fon] [fr] [gl] [id] [it] [ja] [lb] [nl] [oc] [pl] [pt] [ro] [ru] [sk] [sv] [tr] [vi] [zh] Espace de traduction

Download

#DOSSIER_SQUELETTE

July 2010

All the versions of this article:

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


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" />

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


Show the template of this page Site powered by SPIP | Translation area | Private area