3-level expanding category based menu

In a project I have some “static pages” organized using categories and subcategories. There is a weblog for the content of the pages and ...

Leave a comment:

Name:

Email:

Location:

URL:

Smileys

Remember my personal information

Notify me of follow-up comments?

If you found something useful here and want to show your appreciation feel free to

or


Comments:

3 of 6 pages « Erste  <  1 2 3 4 5 >  Letzte »

The actual code used there is:

{exp:cat_expand:wrapper}
{exp:weblog:categories weblog="testsite" style="nested"}

{exp:cat_expand:expander category="{category_id}" active-style="font-weight:bolder;"}
{category_description}
{/exp:cat_expand:expander}

{/exp:weblog:categories}
{/exp:cat_expand:wrapper}

There’s no special CSS styling involved.

Posted by  on  07/24  at  10:25 PM

Hi Oliver. thanks a bunch for your plugin. i can’t get the styling to work at all

could you post the actual code and css you are using on your demo of the expanding category based menu:
http://gadgets.silenz.org/index.php/testsite/

it would help a great deal. many thx

Posted by  on  07/24  at  08:28 PM

I have a nav working on my site, to two levels which is great and all works fine. I am wondering, can I set entries for a third level and have it expand the second level? I have a entries in a subcategory I want to show, but dont want to have them show up in the navigation, or have the multiutude of categories in my setup.  Example would be:
portfolio
web
print

for a navigation, then under web I have entries of

web
web 1
web 2
web 3

and when I click web 3, I want the web section to stay open, without having to assign a category level 3. Does this make sense?

Posted by  on  07/13  at  08:18 PM

“@Frank
This particular plugin: certainly no. But a similar plugin for the gallery is certainly possible.”

That’s a shame, let me know if you ever have a go at it.

Posted by Frank  on  07/13  at  10:56 AM

I have this set on the server yes, and when I click my category, it goes to my sub category page and expands. Ideally, I would liek it to open the category, then allow to select the sub when I do.
The strucutre is as follows:
Category
sub1
Category 2
sub1
sub

My code is now:

{exp:cat_expand:wrapper}
{exp:weblog:categories weblog="{my_weblog}" style="nested"}
{exp:cat_expand:expander category="{category_id}" active-style="font-weight:bolder;"}
{category_name}
{/exp:cat_expand:expander}
{/exp:weblog:categories}
{/exp:cat_expand:wrapper}

When i click the link, it opens my cat, but doesnt show the subs. When I put in:

{exp:weblog:categories weblog="{my_weblog}" style="nested"}
{category_name}
{/exp:weblog:categories}

when I click the main category, it jumps to the sub only?

Any ideas?

Posted by  on  07/12  at  03:59 PM

@Frank
This particular plugin: certainly no. But a similar plugin for the gallery is certainly possible.

Posted by  on  07/12  at  03:51 PM

3 of 6 pages « Erste  <  1 2 3 4 5 >  Letzte »