HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

How to Create a Dropdown-Menu

edited August 2013 in Tutorials

Enable the AddMenuItem plugin, input the link and name of the link in the fields, lets say the link is home, going to your home site.

place a link or links like this in your default.master.php where the others are I put it before the activity link.


$this->Menu->AddLink('Home', T('Mobile View'), 'profile/mobile');

$this->Menu->AddLink('Home', T('New Discussion'),'/post/discussion');

Notice the first name is the same, that will place the other links under that link.

see example here

http://freeplanet3.com/Forum/

Comments

Sign In or Register to comment.