Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Kate 267 posts 610 karma points
    Sep 10, 2013 @ 15:59
    Kate
    0

    Find Template name one level up

    I'm making a site where there is a submenu.
    This submenu must sometimes be displayed along with a map.

    I have a template called TextPage - this is where I insert the submenu macro.

    If the TextPage is a subpage to a template called "Destination" then the submenu should show submenu and a map, otherwise the TextPage should only contain the sumbenu

    My Structur look like this:

    Site
      - Frontpage
      - TextPage (only show submenu)
           TextPage (only show submenu)
      - Destination
            TextPage (show submenu and map)

    how can I in my xslt file describe whether I am on at TextPage that is a subpage to template "Destination" or just a regular TextPage?


    Thanks in advance

Please Sign in or register to post replies

Write your reply to:

Draft