Les articles publiés sur le site
-
#NOM_SITE_SPIP
#NOM_SITE_SPIP displays the defined name of the site. When SPIP has only just been installed, the default site name is "My SPIP site". To change it, you need to click on the "Configuration" menu item in the private zone and alter the text in the "Your site's name" field. It's probably a good (...) -
#PLUGIN
This tag is used to check for the existence of a plugin activated on the site, and to access all of the data stored in its plugin.xml file. #PLUGINnom_du_plugin returns true if the plugin has been activated. #PLUGINnom_du_plugin,version returns the version number of the plugin if it is active. (...) -
#PUCE
#PUCE (since SPIP 1.5) displays a bullet point (which is what "puce" means here in French) by using a graphical image located at the site's root directory. You can easily customise this bullet point image by creating an alternative "puce.gif" and storing it in the "squelettes" directory. - Tags (...) -
#REM
The #REM tag does not normally display anything: it is used to insert comments into template code. The #REM tag is used to insert comments into the code of your template files: [(#REM) This is a comment ] The tag and it's optional portion are purely and simply deleted when the template file is (...) -
#SELF
#SELF returns the URL of the called page, cleaned of any variables specific to running SPIP. #SELF (since spip) returns the URL for the current page. Any variables specific to running SPIP (e.g. var_mode) are deleted. Example: for a page with the URL: spip.php?article25&var_mode=recalcul, the (...)