PDA

View Full Version : How do I change 'blog' hyperlink in navbar?


karlm
Fri 11th Apr '08, 9:22pm
I've been editing my navbar (it looks crappy atm) by adding images inplace of the standard $vbphrase.
e.g. now "Todays Posts" now has an image of multiple documents, "Search" text has been replaced by an image of a globe with a magnifying glass (original, eh:p)

Anyhow, my question is this:

It appears the 'Blog' hyper-text is created through the below code...
$template_hook[navbar_buttons_left]
So I would be interested in changing it from hyper-text into an image of a pen that I have set aside for it.

Can someone give direction on steps required?

Cheers.

Kalina
Fri 11th Apr '08, 11:18pm
You can edit the "blog_navbar_link" template, ie; expand "Blog Templates «:" then click on "blog_navbar_link" and change the code inside to your image instead.

It's currently:
<td class="vbmenu_control"><a href="blog.php$session[sessionurl_q]">$vbphrase[blogs]</a></td>

So you'd make it something like:
<td class="vbmenu_control"><a href="blog.php$session[sessionurl_q]"><img src="$stylevar[imgdir_misc]/pen.gif" alt="$vbphrase[blogs]" border="0" /></a></td>

karlm
Sat 12th Apr '08, 10:57pm
cheers :)

+rep