Welcome! Log In Create A New Profile

Advanced

Bold Url

Posted by PingPong 
Bold Url
April 08, 2008 10:18AM
Is there any mod so when searching for keyword, it would be bold in url (if found)?

As now only title and content keywords are bolded.



Edited 1 time(s). Last edit at 04/08/2008 10:18AM by PingPong.
Tec
Re: Bold Url
April 08, 2008 04:39PM
In search.php delete the row:

<div class="url">'.$weight.' | '.$url.' - '. $page_size.'</div>

and replace it with the following:

<div class="url">'.$weight.' | '.$url2.' - '. $page_size.'</div>




If you like it a little bit flashier or more conspicuous, do the above modification and additionally do the following:

Open .../include/searchfuncs.php and search for:

$url2 = eregi_replace($regs[1], "<b>".$regs[1]."</b>", $url2);

Delete that row and replace it with the following:

$url2 = eregi_replace($regs[1], "<span class='warn'>".$regs[1]."</span>", $url2);


Happy coding

Tec



Edited 1 time(s). Last edit at 04/08/2008 04:40PM by Tec.
Re: Bold Url
April 10, 2008 09:01PM
Thanks a lot
Re: Bold Url
November 20, 2008 05:30AM
not found
Sorry, only registered users may post in this forum.

Click here to login