Notes of a geek on SPIP

define(SPIP): A powerfull CMS that rocks !

LOGO_DOCUMENT : How to use it with SPIP 2.1

, , , , ,

Changes beetween 2.0 and 2.1
until SPIP 2.0 in SPIP 2.1 and after
[(#LOGO_DOCUMENT|#URL_DOCUMENT)]
[(#LOGO_DOCUMENT|fichier)]
[(#LOGO_DOCUMENT|lien)]
[(#LOGO_DOCUMENT|left)]
[(#LOGO_DOCUMENT||image_reduire{80,60})]
[(#LOGO_RUBRIQUE||texte_script)]
[(#LOGO_DOCUMENT|left|image_reduire{80,60})]
[(#LOGO_DOCUMENT{80,60}|left)]
#LOGO_DOCUMENT{#URL_DOCUMENT}
#LOGO_DOCUMENT**
#LOGO_DOCUMENT*
#LOGO_DOCUMENT{left}
#LOGO_DOCUMENT{80,60}
#LOGO_RUBRIQUE{texte_script}
#LOGO_DOCUMENT{left,80,60}
#LOGO_DOCUMENT{80,60,left}
  • #LOGO_DOCUMENT** : The picture file name (ex. doc123.jpg)
  • #LOGO_DOCUMENT* : The relative url of the picture file name (ex. IMG/doc123.jpg)
  • #LOGO_DOCUMENT{left} : 'left' isn't a standard filter. It only modifies the position of the logo in the generated HTML code. It can be either 'left', 'right', 'top', 'bottom'. They can combine together (for ex. #LOGO_DOCUMENT{top,left})
  • #LOGO_RUBRIQUE{texte_script} : with this new form, double-pipes are not necessary for a standard filter
  • #LOGO_DOCUMENT{left,80,60,text_script} : arguments can be combined, the order doesn't matter. With one exception : the first number is the width of the generated picture, the second number is it's height. Of course, if there is only one number, this follow the comportement of 'image_reduire' : the height and width of the picture are both less than this number.

SPIP 2.1 has been released yesterday !SPIP 2.1 : Known incompatibilities

Comments

Unregistered user Monday, April 12, 2010 5:16:14 AM

Valéry writes: Pas mal ces simplifications de la syntaxe.

Write a comment

New comments have been disabled for this post.