[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



July 2010 — updated on : June 2010

All the versions of this article:

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 calculated by SPIP. [(#REM)] does not appear in the HTML code for the public site and therefore will not display anything.

However, it is important to remember the abnormal effects of the #REM tag: the optional part of the tag must not contain any loop, such as is written in the example below:

[(#REM) this is a test loop: don't display it!

will display (something like):
[() this is a test loop: don’t display it! 18 - My article title ]

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