What version of 68 Classifieds are you running? V4.2.3 Developer What template are you using? Default Please describe in detail the issue you are having: I will have an extra field child option being displayed on the show listings page. It will only be displayed if they answer yes to a parent option. The thing is i have the extra fields in a <p> tag and i have but some padding on the right to spread the extra fields out a bit. But when the parent option is set to no then the child option doesn't display which is good but it leaves its empty <p> tag with the padding. Is there any IF statement that can be used to stop the <p> tag from not being displayed when the parent option is no. And is there any way to make the output of a certain Extra field an image, say a green image would be displayed for yes option and a red image could come up for a no option. Thanks
Dealing with the second question first the answer is yes. You could make a copy of the existing get extrafield plugin and do the test within it and then display the appropriate image. You would not need to return anything from that smarty plugin as such. I think you may be able to approach the first requirement in a similar manner although you may need to play about a bit.