EE 1
EE 2
Category Parent Style
Developer
3rd Party (Free)
Compatibility
- LG Addon Updater
- Multi Site Manager
- Stand Alone Entry Form
Requirements
- jQuery for the Control Panel
Tags
This plugin applies a custom CSS-class to categories that have subcategories using {exp:weblog:categories}.
The Plugin uses two tags. One goes around {exp:weblog:categories}, one goes inside.
The outer one is {exp:cat_parent_style:apply class=“myclass”}. It applies class=“myclass” to the <li>-tag of any category that has subcategories. You may change “myclass” to any class name you like.
The inner one is {exp:cat_parent_style:check cat_id=”{category_id}"}. It checks whether the current category has subcategories and prepares it for the apply-function.
Category Parent Style Links
This entry was last updated August 8, 2009, 6:57 am.
Disclaimer: Information about ExpressionEngine add-ons is provided as a service to you, the user, and every member of the ExpressionEngine community. Devot:ee is not responsible if you hose, mangle, wreck, or otherwise destroy your EE website by installing an add-on that you found out about at this site, regardless of its rating, Favorites status, commercial or free status, or general popularity. Caveat EEmptor!
There are no reviews for this add-on yet.
What are you waiting for? Rate it and review it!