Hi,
I want to display a conditionnal image only for the web users.
I have a template who call a chunk.
In this chunk I have the phx call :
[*phx:mo=`Espace Adherent`:then=`<img src="myimage.jpg" width="250" height="153" /></a>`:else=``*]
This call always return the else statement (logged or not).
PS : I also try
[+phx:mo=`Espace Adherent`:then=`<a href="
http://www.frais-kilometrique.com?affid=14" target="_blank"><img src="assets/templates/arapl/images/pub_frais.jpg" width="250" height="153" /></a>`:else=``+]
Someone can help ?
Thanks
Modx 1.02
PHX 2.1.3