Page 1 of 1

manually add link in bulletmenu

Posted: Sat Feb 18, 2006 11:35 am
by sydneysunshine
Hello! My client is having trouble fitting the menu on her very narrow top navigation bar and has asked for the home link to appear only in the left menu (which is a plain bulletmenu). Can someone help explain how to manually add the code in?

Currently I have just entered a link above the bulletmenu (i.e within the div) but the design and css make it look kinky, so I'm wanting it to actually be the first link in the bulletmenu only. If it's possible (and if we don't change our mind) ;)

I'm currently using 0.11.2.

Test page: http://www.bridges.org.au/cms/index.php?page=about

Re: manually add link in bulletmenu

Posted: Sat Feb 18, 2006 1:06 pm
by Ted
Open up plugins/function.bulletmenu.php.  At roughly line 43, you'll find:

Code: Select all

$menu .= "<div class=\"bulletmenu\">\n";
and do something like:

Code: Select all

$menu .= "<div class=\"bulletmenu\"><a href=\"index.php?page=home\">Home</a>\n";

Re: manually add link in bulletmenu

Posted: Sun Feb 19, 2006 3:54 am
by sydneysunshine
Thanks Wishy! That's exactly what I needed!