Log in

View Full Version : changing "Threads tagged with"


bongwater
09-17-2009, 02:50 AM
When performing a search query for a particular tag, I would like to change the resulting page title of the search results, normally appearing as Site Name - Threads tagged with TAG, to simply TAG (the tag text only) as a result as the first word of the title. I am aware this involves modifying the <title> part of the "tag_search" template.

Default unmodified <title> code is:
<title>$vboptions[bbtitle] - <phrase 1="$tag[tagtext]">$vbphrase[threads_tagged_with_x_title]</phrase></title>


Can somebody post me how to modify above code so only the tag text shows up as the title? For example, if the tag text is "windows" I would like the page title of the search results to simply be "windows" instead of "Site Name - Threads tagged with Windows

thanks

Lynne
09-17-2009, 03:33 AM
Try this:
<title>$tag[tagtext]</title>

bongwater
09-17-2009, 04:09 AM
thanks. To everyone reading this, the support @ VB is best =)