Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-6055

ofbiz 13.07.01 "main menu" and "sub menu" into a single UL, LI structure? by default there is two < UL > tags one for the applications menu and one for the sub menu of the current application.Please Help Us

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Invalid
    • 13.07.01
    • 13.07.01
    • ALL APPLICATIONS, themes
    • My question: is there a way to change the ofbiz "main menu" and "sub menu" into a single UL, LI structure?

      by default there is two < UL > tags one for the applications menu and one for the sub menu of the current application.

    Description

      I'm looking for help about creating menus and submenus.and i did following steps
      1.in the folder //framework/common/widget open CommonScreens.xml
      <!-render appheader: both menu widget style and ftl template style menus are supported->

      2.in that < section > you will comment this condition:

      <condition><not><if-empty field="appheaderTemplate"/></not></condition>

      3.and also comment this tag (this is the default menu)
      <html-template location="${appheaderTemplate}"/>

      4.Now add this tag instead of the tag you commented in steap 4
      <html-template location="component://common/webcommon/menu.ftl"/>

      5.Create a new file in //framework/common/webcommon with the name menu.ftl in this file you can write html code in the menu section.

      6.finally we need to get rid of the CommonAppBarMenu for that you need to open //framework/common/widget/CommonMenus.xml and there comment this code

      <menu-item name="main" title="${uiLabelMap.CommonMain}">
      <condition><not><if-empty field="userLogin"/></not></condition>
      <link target="main"/>
      </menu-item>

      after i don't know how to link menu.ftl with main menus.please help us

      Attachments

        Activity

          People

            Unassigned Unassigned
            vjaravind aravind
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 10h
                10h
                Remaining:
                Remaining Estimate - 10h
                10h
                Logged:
                Time Spent - Not Specified
                Not Specified