Gossamer Forum
Home : Products : DBMan : Customization :

Bolding numbers while viewing

Quote Reply
Bolding numbers while viewing
I have tried searching the forum, but I haven't been able to find this . . .

When the search pages are printed how do you bold the current page?

For example: Pages: << 1 2 3 4 5 >>, where 3 is the current page. Similar to the page list that is in the forum.
Quote Reply
Re: [joshuagill] Bolding numbers while viewing In reply to
Look in your db.pl file... mine's been heavily customized and it's on line 766 of mine... way down at the bottom end of the sub query.

change:
($i == $nh) ?
($db_next_hits .= qq~$i ~) :

to:
($i == $nh) ?
($db_next_hits .= qq~<b>$i</b> ~) :

Hope this is what you were looking for.
Wes
Quote Reply
Re: [kd4rdb] Bolding numbers while viewing In reply to
Thanks Wes!! It worked.