3-level expanding category based menu
PluginsIn a project I have some “static pages” organized using categories and subcategories. There is a weblog for the content of the pages and ...
In a project I have some “static pages” organized using categories and subcategories. There is a weblog for the content of the pages and ...
If you found something useful here and want to show your appreciation feel free to
or
4 of 6 pages « Erste < 2 3 4 5 6 >
@Aaron
I’m not quite sure if I understand you correctly.
But do you have Use Category URL Titles In Links? set to Yes under CP Home > Admin > Weblog Administration > Global Weblog Preferences?
Posted by on 07/12 at 03:38 PM
Would it be possible to get this to work with the Gallery module? It could certainly do with it.
Frank
Posted by Frank on 07/12 at 01:31 PM
Is it possible to set the menu to read the {category_url_title} from the url instead of the menu? When I have the menu set to category={category_id} and the link in my menu to {category_name} and click the menu, I get the category ID’s in the address like: http://www.myurl.com/myweblog/c4., which looks bad.
I deally, I would like to do a http://www.myurl.com/myweblog/category_url_title and have the menu expand. I have it set up this way; {exp:cat_expand:expander category="{category_id}" active-style="font-weight:bolder;"} and I get nothing. I can’t see how you did this from the example site, so could you point me in the right direction?
Posted by on 07/12 at 01:01 PM
@Paul:
Sure, you can do lots of things to style the ordered list that is produced by the weblog:categories tag.
Since this is not a specific thing concerning this plugin but CSS-formatting a nested list and I am not a CSS/design guru myself I’d recommend seeking assistance in the
HTML, CSS, and Design Help forum if you need help in applying a specific design.
Posted by on 07/05 at 12:08 PM
@ Stef:
That’s just a general matter of applying CSS formatting to the list produced by the weblog:categories tag.
To adjust the indentation you’d problably use something like this.
<style>
.nav_categories ul {
padding-left:10px;
}
</style>
Posted by on 07/05 at 11:57 AM
Hi, great code!
How can I avoid that the submenus are intended (something like 35px as default)?
Posted by Stef on 07/05 at 09:06 AM