Moodle
  1. Moodle
  2. MDL-29605

Modify Afterburner custom menu to allow auto format of top level menu items

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.1, 2.2
    • Fix Version/s: 2.1.2
    • Component/s: Themes
    • Labels:
    • Testing Instructions:
      Hide

      1. Select Afterburner theme from the Theme Selector
      2. Set some custom menu items in Themes Setting
      3. Check that all the menu items are displayed in a non-fixed way, meaning each item, whatever its length, is displayed using the minimum of space, and that the drop-down sub-menu items are shown opening out to the right.

      Show
      1. Select Afterburner theme from the Theme Selector 2. Set some custom menu items in Themes Setting 3. Check that all the menu items are displayed in a non-fixed way, meaning each item, whatever its length, is displayed using the minimum of space, and that the drop-down sub-menu items are shown opening out to the right.
    • Affected Branches:
      MOODLE_21_STABLE, MOODLE_22_STABLE
    • Fixed Branches:
      MOODLE_21_STABLE
    • Pull Master Branch:

      Description

      Because Afterburner custom menu is a modification of the default custom menu in Moodle, it uses a totally different set of CSS styles than the norm. I have since discovered a way to allow the menu items to auto format thus moving away from the fixed position which they are present.

        Gliffy Diagrams

          Activity

          Hide
          Sam Hemelryk added a comment -

          Thanks Mary - this has been integrated now

          Show
          Sam Hemelryk added a comment - Thanks Mary - this has been integrated now
          Hide
          Ankit Agarwal added a comment -

          Hi,
          This might be unrelated issue, but if we add large number of menu items (more than the number that can be accommodated in a single line) ,the menu breaks.
          Screen attached.

          Rest works as expected.
          Thanks

          Show
          Ankit Agarwal added a comment - Hi, This might be unrelated issue, but if we add large number of menu items (more than the number that can be accommodated in a single line) ,the menu breaks. Screen attached. Rest works as expected. Thanks
          Hide
          Mary Evans added a comment -

          @Ankit

          This reminds me of a quotation I once read...

           
                ·´¯`·.¸¸..><(((º>.·´¯`·.¸¸.·´¯`·.¸><(((º>
           
          ¸.·´¯`·.¸. , . .·´¯`·.. ><(((º>`·.¸¸.·´¯`·.¸.·´¯`·...¸><(((º>
           
           "The reasonable man adapts himself to the world,
           
          <º)))><¸.·´¯`·.¸¸.·´¯`·.¸.·´¯`·.¸.·´¯`·...¸
           
          the unreasonable one persists in trying to adapt the world to himself.
           
          Therefore all progress depends on the unreasonable man." - George Bernard Shaw
          
          

          Show
          Mary Evans added a comment - @Ankit This reminds me of a quotation I once read...   ·´¯`·.¸¸..><(((º>.·´¯`·.¸¸.·´¯`·.¸><(((º>   ¸.·´¯`·.¸. , . .·´¯`·.. ><(((º>`·.¸¸.·´¯`·.¸.·´¯`·...¸><(((º>   "The reasonable man adapts himself to the world,   <º)))><¸.·´¯`·.¸¸.·´¯`·.¸.·´¯`·.¸.·´¯`·...¸   the unreasonable one persists in trying to adapt the world to himself.   Therefore all progress depends on the unreasonable man." - George Bernard Shaw
          Hide
          Eloy Lafuente (stronk7) added a comment -

          git repositories have been updated with your awesome changes, thanks! Closing.

          Show
          Eloy Lafuente (stronk7) added a comment - git repositories have been updated with your awesome changes, thanks! Closing.

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: