Andrew, do you mean the code for old auth_navbar style? If yes, I think it's better if you open a new thread for asking to the web2py users what style they prefer and after we will send a patch to Massimo. It's possible that most of w2p users loves the current style (bootstrap buttons group).
Il giorno giovedì 14 giugno 2012 22:55:38 UTC+2, Andrew ha scritto: > > Hi Paolo, > > Are you able to send a patch to Massimo for your layout and bootswatch > files. The bootstrap menu issue is holdnig up 2.0 and I think your changes > have addressed this. Would love to see it in trunk. > > If you can't I can have a go at working out what you did. > > Thanks > > Andrew W > > > > On Thursday, June 7, 2012 8:24:44 PM UTC+12, Paolo Caruccio wrote: >> >> I'm afraid you can not do it. The first item in the dropdown menu (having >> class="dropdown") can not contain an URL. The structure of the dropdown >> menu is as follows (taken from this page >> http://twitter.github.com/bootstrap/components.html#navbar): >> >> Adding dropdown menus >> >> Adding dropdowns and dropups to the nav is super simple, but does require >> the use of our javascript >> plugin<http://twitter.github.com/bootstrap/javascript.html#dropdowns> >> . >> >> >> 1. <ul class="nav"> >> 2. <li class="dropdown"> >> 3. <a href="#" >> 4. class="dropdown-toggle" >> 5. data-toggle="dropdown"> >> 6. Account >> 7. <b class="caret"></b> >> 8. </a> >> 9. <ul class="dropdown-menu"> >> 10. ... >> 11. </ul> >> 12. </li> >> 13. </ul> >> >> >> Il giorno giovedì 7 giugno 2012 04:13:19 UTC+2, LightDot ha scritto: >>> >>> I can confirm this, using fresh welcome application and Bootstrap >>> upgraded to 2.0.4. >>> >>> If a menu item has both an URL specified and also additional submenus, >>> these don't get displayed. Regardless if this is a first or a second level >>> menu item. If the URL is set as None, additional submenus display properly. >>> >>> Regards >>> >>> On Wednesday, June 6, 2012 11:13:48 PM UTC+2, Paolo Caruccio wrote: >>>> >>>> Szimszon, >>>> >>>> is it a new application or have you replaced an old layout with that >>>> new one? >>>> >>>> >>>> Il giorno mercoledì 6 giugno 2012 13:42:22 UTC+2, szimszon ha scritto: >>>>> >>>>> I have issue with dropdown menu when the main menu is a link too. >>>>> >>>>> If I click on the main menu than that menu is activated and I can't >>>>> access the items below it with any means :( >>>>> >>>> >>>> Il giorno mercoledì 6 giugno 2012 13:42:22 UTC+2, szimszon ha scritto: >>>>> >>>>> I have issue with dropdown menu when the main menu is a link too. >>>>> >>>>> If I click on the main menu than that menu is activated and I can't >>>>> access the items below it with any means :( >>>>> >>>>