Uploaded image for project: '[Read Only] - Hippo Essentials'
  1. [Read Only] - Hippo Essentials
  2. ESSENTIALS-1022

Remove 'Click to edit Menu' section in base-top-menu.ftl

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • High
    • Resolution: Fixed
    • None
    • 3.1.0
    • None
    • None

    Description

      The differences in menu templates are found if you create a project using archetype and also use essentials to add the menu component:

      • If you added 'menu' container item component in template composer, the text (the #else block in essentials-menu.ftl) is meaningful because the component editing window somehow provides ability to add a new menu.
      • However, if you're editing a non-container item component like the top menu, then the text (the #else block in base-top-menu.ftl added by archetype) doesn't seem meaningful any more because there's nothing to help user with creating a new menu.

      Maybe the #else section in the base-top-menu.ftl can be changed like the following:

      <#else>
        <#if editMode>
          <p>Invalid menu configuration.</p>
        </#if>
      </#if>
      

      Or,

      just remove the #else part, because the person who gets to see it is not the person who would typically be able to do anything about it...

      Attachments

        Activity

          People

            asolod Andrey Solod (Inactive)
            wko Woonsan Ko (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: