WebsiteBaker Community Forum

WebsiteBaker Support (2.8.x) => Templates, Menus & Design => Topic started by: cgryniewicz on October 24, 2008, 01:45:28 AM

Title: Links
Post by: cgryniewicz on October 24, 2008, 01:45:28 AM
I'm trying to create a template and I'm struggling with the menu. In my design, I want the link for the current page to be different then the rest. Is this possible? Also, I added the PHP code for the search, but it doesn't work. It always tells me No Results. Do you need to index the page somehow?
Title: Re: Links
Post by: albatros on October 24, 2008, 11:10:05 AM
Hi,

please have a look here http://help.WebsiteBaker.org/pages/en/advanced-docu/designer-guide.php (http://help.WebsiteBaker.org/pages/en/advanced-docu/designer-guide.php) and you will get many informations about creating WB-templates an adding e.g. the searchfunction.

hth

Uwe
Title: Re: Links
Post by: cgryniewicz on October 24, 2008, 04:58:48 PM
Yes, I've already looked at that. I don't understand how to use the show_menu2 method. Can you show me?
Title: Re: Links
Post by: Bramus on October 24, 2008, 05:44:39 PM
in the css you should add something like -current like a.current or something like that, try to take a look on a working template, this might be easy to understand.

I have something like a.menu_current and it is working. As i said try to find a template with a working example, and find out how this is done there, you could use the firefox toolbar Webdeveloper to view what css is used on a button or other elements and then check-out the css file with the template.

Good luck :)