[All Adaptavist Apps]

Page tree

Hi,

Is there a macro to retrieve parent space information in Theme Builder? I'm looking to highlight a menu item in a top-level menu (each item is a space) based on whether the current space is a child of a given top-level space.

Alternately, how would I go about doing this using theme or space labels?

BTW, I would also be interested in listing child-spaces in a page in the parent space. Can this be done on spaces that list the current space as their parent?

Best Regards,
Ville

  • No labels

2 Comments

  1. Unknown User (amoran)

    {builder-show:space=foo|recurse=true}This will show when the current space or one of it's parents has the key 'foo'{builder-show}

  2. Unknown User (ville.valtasaari@thl.fi)

    Excellent,

    Thank you very much!

    Ville