Hello,
I'm trying to add a condition in Postbid_legacy that if a certain field contains a word, it will display one image, if contains a different shows different image.
This would be easy if i had like 3 or 5 words, but i have Hundreds...
Currently, my forum members enter a ATV model they use, for example: Yamaha YFZ450R from a list of models that my moderation previous creates (field9).
Since i have the model next to the brand, i want that all the content of that field that contains "Yamaha" despite the model will show the logo image, so far i made this:
<vb:if condition="$post['field9'] > 'Yamaha'">
<dd><div align="center"><img src="logos/yamaha.png"</div></dd>
</vb:if>
My problem is that if i make the same to Suzuki it will show both Yamaha and Suzuki... it seams that $post['field9'] > "Yamaha" is not working...
Suggestions?
I'm trying to add a condition in Postbid_legacy that if a certain field contains a word, it will display one image, if contains a different shows different image.
This would be easy if i had like 3 or 5 words, but i have Hundreds...
Currently, my forum members enter a ATV model they use, for example: Yamaha YFZ450R from a list of models that my moderation previous creates (field9).
Since i have the model next to the brand, i want that all the content of that field that contains "Yamaha" despite the model will show the logo image, so far i made this:
<vb:if condition="$post['field9'] > 'Yamaha'">
<dd><div align="center"><img src="logos/yamaha.png"</div></dd>
</vb:if>
My problem is that if i make the same to Suzuki it will show both Yamaha and Suzuki... it seams that $post['field9'] > "Yamaha" is not working...
Suggestions?
Comment