We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Tome menu question

Development and Programming

salbertson's avatar
salbertson
29 posts
16 years ago
salbertson's avatar salbertson

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.

       
salbertson's avatar
salbertson
29 posts
16 years ago
salbertson's avatar salbertson

Anyone?

       
Lisa Wess's avatar
Lisa Wess
20,502 posts
16 years ago
Lisa Wess's avatar Lisa Wess

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. =)

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.