I have made some js image slider. I preview some Template Variable images.
This works:
<li>[*project_foto_01*]</li>
But i’d like to have to show nothing when there is no image, i tried this:
[+phx:if=`[*project_foto_01*]`:is=``:then=``:else=`[*project_foto_01*]</li>`*]+]
[*project_foto_01:ne=``:then=`<li><img src="[*project_foto_01*]" /></li>`*]
Can anyone show me the correct code? phx is installed.
Best CMS eva!
Hmm, i get this in the output source:
" /></li>`*]
Guess phx isnt installed correctly or smt.
#edit
Didn´t install my phx correct, forgot to do this:
Check "OnParseDocument" at the System Events tab
Thanx for your help!
Best CMS eva!