How to create a parent-folder index block

jperreault's Avatar


03 Feb, 2011 10:08 PM


I have run into a problem using blocks to create navigation menu links.

I have some department pages in a folder called "departments". I have created a velocity format to create the menu using an index for the departments folder.

Now I want to use the same template, formats and menus in a different folder. And I may want to reuse it in other places too. I don't want to have to keep creating new indices on every containing folder.

Is there a way to create a generic "parent-folder" index block?



  1. 1 Posted by Amy on 04 Feb, 2011 02:51 PM

    Amy's Avatar

    Hi Jeff,

    If I'm reading your question correctly and you are trying to create menu links based on assets in the parent folder, then I would suggest creating an index block that:
    1. Has no "index folder" set
    2. Starts at the current page with folder hierarchy, and also include siblings

    This would return information for all assets that are a higher level in the folder hierarchy than where you currently are, thereby including information for the parent folder and its contents.

    Hope this helps!

  2. Tim closed this discussion on 21 Jun, 2011 02:06 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac