Hello,
I have this code above my image which displays links - for example: Next Video ------ Previous Video
<table style="width: 700px">
<tr>
<td>{if prev_image_name}<h3><a href="{prev_image_url}">PREVIOUS {cat_name}</a></h3>{endif prev_image_name}</td>
<td style="width:100%"><hr style="color:black;height:2px"></td>
<td>{if next_image_name}<h3><a href="{next_image_url}">NEXT {cat_name}</a></h3>{endif next_image_name}</td>
</tr>
</table>
That works fine when in the same category but when someone for example searches the word "cat" it displays "Next (and the current category name)" even though the next might be in the game category.
Basically what I'm looking for is a way to replace the {cat_name} with search query (or just the word search) when the url is in search mode: (/img6234.search.htm for example)
I hope I'm getting my point across I know it sounds a little confusing.
My site is
http://www.savemefromboredom.com if you need to check it out.
Thank you very much to anyone who can help me,
Kitty