FLUX RSS



ACCUEIL / FORUMS / QUESTIONS TECHNIQUES / PROBLÈME {SECTION SHOW ... IS_EMPTY|NOT}




sondages
Avez-vous déjà utilisé les exports statiques ? :
oui
non
RESULTATS | SONDAGES
liens
eZ systems
http://ez.no
PHPEdit
http://www.waterproof.fr/
AFUL
http://www.aful.org
Framasoft
http://www.framasoft.net
problème {section show ... is_empty|not}

Vous devez être connecté pour utiliser le forum. Vous pouvez le faire ici.

Auteur Message

romain josserand

Vendredi 08 Juillet 2005 11:43:23 am

problème {section show ... is_empty|not}

Bonjour à tous,

Depuis peu (je ne sais plus après quelle action), mes "section show" ne fonctionnent plus.
Dans mon template qui gèrent des stages, j'ai :
{section show=$node.object.data_map.intitule_stage.content.is_empty|not}
et intitule_stage n'est pas vide => pourtant, il n'apparaît pas => anormal.
Avant il apparaissait...

Qu'est-ce que j'ai bien pu changer ?
D'où vient mon problème ?
Comment rétablir le fonctionnement ?

Merci d'avance.

Marion JACQUES

Vendredi 08 Juillet 2005 12:01:28 pm

Re: problème {section show ... is_empty|not}

Je ne sais pas si ça réglera ton problème mais j'ai peut-être une solution :

modifier {section show=$node.object.data_map.intitule_stage.content.is_empty|not}

en {section show=$node.object.data_map.intitule_stage.has_content}
( ou {section show=$node.object.data_map.intitule_stage.content.has_content} )

actualités
Traduction d'un tutorial eZ
eZ publish 4.0 est sorti
EzPublish 3.9 enfin disponible !
Ez Publish 3.9 RC2 est en ligne !
Ez Publish 3.9 RC1 disponible !
références
Site ohmycom
OhmyBlog