![]() |
{vb:raw criteriaDisplay} Where is this defined?
{vb:raw criteriaDisplay}
In a templates search this only shows up where it is called in the template search_resultlist: HTML Code:
<p class="description"> Tag: the search term Where can I find where this is defined? I want to get rid of the word 'Tag:' so I can use just the search term as a variable for an ad server. Thanx |
A quick search of the files turned this up:
Quote:
|
Quote:
|
I used Total Commander's search files feature. It searches inside files and is fairly quick. Best file manager available for Windows. ;)
|
Thanks.
I still can't figure out how: <p>{vb:raw criteriaDisplay}</p> generates: <p>Tag: <b><u>my tag search term</u></b></p> How is the word 'Tag:' being inserted, and where is the inline formatting coming from that adds the underline and bolding? ********EDIT********** I found this in vb/search/criteria.php at line 1048: $this->display_strings['tag'] = "$vbphrase[tag]: <b><u>" . $tag->fetch_field('tagtext') . "$syn_text</u></b>"; and changed it to: $this->display_strings['tag'] = "" . $tag->fetch_field('tagtext') . "$syn_text"; That gets rid of the word "Tag:" and also removes the bold and underline. But, is this the right way to do this since I still need the end result - criteriaDisplay - as a variable I can use to build some other functions around? Would it be better to just get either 'tagtext' or '$syn_text' directly, and if so, how? Thanx |
All times are GMT. The time now is 09:00 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|