we:ifNotEmpty not working in detail template

basic functions and we:tags
Bonus Media

we:ifNotEmpty not working in detail template

Beitragvon Bonus Media » Di 13. Jul 2010, 19:16

Hi,

I have a weird issue. we:ifNotEmpty type="img" is not working inside a detail template (using objects).
Normally this should work:

Code: Alles auswählen

<we:ifNotEmpty match="image_1" type="img">
   <div><we:img name="image_1" /></div>
</we:ifNotEmpty>
It is working for text, but not for images.
What can be wrong?

Jorg

Bonus Media

Re: we:ifNotEmpty not working in detail template

Beitragvon Bonus Media » Di 13. Jul 2010, 20:05

found some posts about this problem in the German forum.
After I changed:

type="img"
for
type="object"

it worked.

Problem solved.

Jorg


Zurück zu „Creating templates“

Wer ist online?

Mitglieder in diesem Forum: 0 Mitglieder und 7 Gäste