Quote:
Originally Posted by peterpigman
The only problem with the search thumbs is if you don't use thumbs in all forums you get a load of no thumb available. Could you not make it so it would only work if someone is searching a section that has it active?
|
i think i've worked around this. I wrapped the no thumb section in a thisscript condition, works well enough for me. Thumbs will only be displayed on the search pages if a thumbnail exists.
ie Find -
Quote:
<img src="$stylevar[imgdir_misc]/nothumb.jpg" alt="" border="0" />
|
replace with -
Quote:
<if condition="THIS_SCRIPT != 'search'">
<img src="$stylevar[imgdir_misc]/nothumb.jpg" alt="" border="0" />
</if>
|