Recherche avancée

Médias (2)

Mot : - Tags -/spip

Sur d’autres sites (691)

  • #FICHIER

    20 juillet 2010, par Mark — Tags, , ,

    The #FICHIER tag (since SPIP 1.8.2) displays the relative URL of the document [1] ; for example : IMG/pdf/my_document.pdf. To extract just the name of the file, we can apply the filter : |basename : (#FICHIER (will display my_document.pdf). An interesting usage of this tag is obtained (...)

  • #EVAL

    20 juillet 2010, par Mark — Tags, ,

    The technical tag #EVAL returns the value calculated by evaluating the PHP expression that is passed as an argument : #EVAL2*7 will display 14, #EVAL_DIR_IMG_PACK will display the path to the ecrire/img_pack/ directory, #EVALphpversion() will display the server’s PHP version number (...)

  • #DOSSIER_SQUELETTE

    21 juillet 2010, par Mark — Tags, ,

    #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 (...)

Rechercher

Recherche avancée