Image not showing unless theres a text in the RTE property.
I have a xsltmacro that lists a few blurbs. I want these blurbs to show in diffrent ways depending on what i choose to add.
There are 2 types.
1. a text and a small image.
2. One big image.
Now i only wanna show the pic image if the rest is empty so i do a choose while bigimage!=' ' Otherwise show the small image and the text.
this sortof works, the problem is even if i only have added a big image it doesnt show unless i fill in some text into the textbox. the text itself doesnt show up only the big image, but i cant just fill in some random text just to get the image to show. There has to be something wrong.
was selecting nodes by taking checking if a certain property existed, didnt think it only selected nodes where the field of that property was filled in, so i changed this.
Image not showing unless theres a text in the RTE property.
I have a xsltmacro that lists a few blurbs. I want these blurbs to show in diffrent ways depending on what i choose to add.
There are 2 types.
1. a text and a small image.
2. One big image.
Now i only wanna show the pic image if the rest is empty so i do a choose while bigimage!=' ' Otherwise show the small image and the text.
this sortof works, the problem is even if i only have added a big image it doesnt show unless i fill in some text into the textbox. the text itself doesnt show up only the big image, but i cant just fill in some random text just to get the image to show. There has to be something wrong.
Want to post your xslt so someone can take a look?
nevermind, solved it:P
was selecting nodes by taking checking if a certain property existed, didnt think it only selected nodes where the field of that property was filled in, so i changed this.
is working on a reply...