Create both Horizontal and Vertical Menus

This public forum is for user-to-user discussions of PHPMaker. Note that this is not support forum.
Post Reply
wungaz
User
Posts: 214

Create both Horizontal and Vertical Menus

Post by wungaz »

How can i create different Horizontal and Vertical Menus. I want to use the top menu to add few links


mobhar
User
Posts: 11736

Post by mobhar »

You need to customize PHPMaker Template. In addition, you may refer to the related code in "HorizontalMenu" extension (it is only available for the registered users).

Read "Customizing Template" in the help file for more information.


digitalphotoworld
User
Posts: 416
Location: Nürnberg/Germany

Post by digitalphotoworld »

By default this feature is not avaible in PHPMaker. If your menu contains only a few entrys I suggest to create it as pure html in Client Scripts > Global > Pages with footer/header > Startup Script

With the bootstrap navbar component it is very easy to build a menu and then place it via JQuery where you want.

Here is a little example:

$(".ewHeaderRow").after('<div class="navbar"><ul class="nav"><li class="active"> <a href="#">Home</a> </li> <li><a href="#">Link1</a></li> <li><a href="#">Link2</a></li></ul></div>');


wungaz
User
Posts: 214

Post by wungaz »

Thanks..it works fine...Keep up the good work


Post Reply