I am trying to use the tome module static_tome_path tag to create a semi-collapsing menu. I need the current page category to show with expanded siblings and the other parent categories to show without expanded siblings. Here is an example:
Step 1 - show menu:
Parent 1
Parent 2
Parent 3
Step 2 - click on “Parent 1”:
Parent 1
Sibling 1
Sibling 2
Sibling 3
Parent 2
Parent 3
Step 3 - click on “Sibling 1”:
Sibling 1
Sibling 4
Sibling 5
Sibling 6
Sibling 2
Sibling 3
Here is the code I have so far but this only shows the current category’s siblings and not the parent or the other “parent” categories.
{exp:static_tome_path direction="post" depth="1"}
<a href="http://{url_title}" title="{title}">{title}</a>
{/exp:static_tome_path}
If that makes sense I would greatly appreciate any help, thanks in advance.
Hi, salbertson - I don’t have the answer for you; however, I did want to comment that Tome is largely not used anymore. When the Pages module came out, I believe that the author stated that he wouldn’t be supporting Tome anymore since there was no need.
That may be why you’re not getting much in the way of assistance. You might look at doing this with first-party utilities, or perhaps the Structure module. I’m not able to advise since I’m not sure of your end goal, you could always post in How to for some more input there. =)
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.