Uploaded image for project: 'Magnolia Standard Templating Kit (closed)'
  1. Magnolia Standard Templating Kit (closed)
  2. MGNLSTK-1007

Availability of the home template toggles on level 2

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Neutral Neutral
    • None
    • 2.0.4
    • base system
    • None
    • Yes

      if(category.equals(TemplateCategory.HOME) && TemplateCategoryUtil.findParentWithTemplateCategory(node, TemplateCategory.HOME) != null){
        return false;
      }
      

      findParentWithTemplateCategory respects the current node, so if your current node is from template home, the home template is not available for this node.

        Acceptance criteria

              Unassigned Unassigned
              frank.sommer Frank Sommer
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: