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
|