-
- 1,613 Posts
Something weird:
I have a ditto call:
[+phx:if=`[*id*]`:is=`2`:or:if=`[*parent*]`:is=`2`:then=`[[Ditto?extenders=`@FILE assets/modules/yams/yams.extender.inc.php` &phx=`0` &parents=`2` &total=`4` &showPublishedOnly=`1` &orderBy=`menuindex ASC` &noResults=`` &tpl=`thumb-submenu-inhoud`]]`:else=``+]
I have a chunk tpl with:
<div><a href="[~[+id+]~]"><img src="[+phx:input=`[[YAMS? &get=`text` &from=`nl::[+grote-afb_nl+]||en::[+grote-afb_en+]`]]`:phpthumb=`w=178&h=138&zc=C&q=85`+] " /></a></div>
The strainge thing about this is when i add this line below somewhere into the chunk the image works, when i leave this (hidden) line the image is not visible.
<!-
[[YAMS? &get=`text` &from=`nl::[+grote-afb_nl+]||en::[+grote-afb_en+]`]]
->
What do i do wrong lol.
Evolution user, I like the back-end speed and simplicity
-
- 1,613 Posts
that didn’t work, tried several calls, might be because i use phx two times or smt. Anyway it does work when i add it hidden the way i have it.
Evolution user, I like the back-end speed and simplicity