Gossamer Forum
Home : Products : DBMan : Customization :

Bold search result but not for admin

Quote Reply
Bold search result but not for admin
Is there a way of having the search results bold for everybody but not for admin? (using $db_bold)

Thanks!
Quote Reply
Re: Bold search result but not for admin In reply to
You could go into the db.cgi file and find the $db_bold statements and put the following codes in front of them with a closing right bracket after the bold codes, like the following:

Code:
(!$per_admin) {

BOLDING CODES

}

Regards,

------------------
Eliot Lee
Founder and Editor
Anthro TECH, L.L.C
http://www.anthrotech.com/
info@anthrotech.com
==========================
Coconino Community College
http://www.coco.cc.az.us/
Web Technology
Coordinator
elee@coco.cc.az.us
Quote Reply
Re: Bold search result but not for admin In reply to
Thanks Eliot, it works!
Quote Reply
Re: Bold search result but not for admin In reply to
Good job!

Regards,

------------------
Eliot Lee
Founder and Editor
Anthro TECH, L.L.C
http://www.anthrotech.com/
info@anthrotech.com
==========================
Coconino Community College
http://www.coco.cc.az.us/
Web Technology
Coordinator
elee@coco.cc.az.us