Works fine, thank you.
Somebody (don’t remember), long ago on the forum, posted a hack to define the style for the category list, it can be filled in after line 867 instead of the original code:
$this->category_list['0'] = '<ul id="'.$id_name.'">'."\n";
/*** HACK for class nav for list***/
$this->category_list['0'] = "<ul id=\"nav\">\n";
/*** HACK for class nav for list***/
Hi,
I am using the dyno cat plugin which is a useful piece of kit.
The only problem I have is formatting the subcategories to look different to the parent categories as per Rob’s exmaple http://www.media-cow.net/weblog/dynocat/
I have styled to “nested” etc to no avail.
All I really want to do is indent the subcategory and downsize the font from that of the parent. And yes I have fiddled with the padding and margins in css with not very good results to be honest. I wondered if there was a standard piece of css which gives you the same results as per Rob’s example or if anybody can give me some guidance on how to maybe achieve something similar to Rob’s example.
Any help would be greatly appreciated.
Thanks
If anyone spots problems or has requests/ideas, just let me know. Download replaces the one in the original post - pi.dyno_cat.zip.
I’ve got this plugin. But the plugin link is broken:
The page you are looking for cannot be found. You can use the Advanced Search Form to find what you are looking for.
http://media-cow.net/EE-docs/pi.dyno_cat.zip
No result with the Advanced Search either.
Edit 2: I copied the dyno_cat file to my /systems/plugin folder but I am getting an error when I try to use the plugin. Its also not showing up in the plugin list under admin.
<form name=”catmenu” action=”“> <select name=”selcat” onchange=”location=document.catmenu.selcat.options[document.catmenu.selcat.selectedIndex].value;”> <option value=”“>–Please Choose Your State or Country–</option> {exp:dyno_cat:categories weblog="distributors" style="linear" dynamic="off"} {if parent_id=="US"}<option value=”{path=distributors}”>{category_description}</option>{/if} {/exp:dyno_cat:categories} </select> </form>
Thats supposed to print the category if it’s parent_id==”US”.
Error The following tag has a syntax error:
{exp:dyno_cat:categories}
Please correct the syntax in your template.
Any suggestions would be greatly appreciated.
ok, I’ve been trying to get something to work for 2 days now…
I have a weblog setup called Marine News, within that i have 3 templates:
Page - displays a single article
When visiting the Index, dynocat is showing only parent categories. (as i want)
I’d like the user to know which subcategory they are in when visiting page reading an article by having the category bolded, and having other categorys only displaying parents.
Probably my setup is wrong as this is my first build with EE, any help would be much appreciated.
Iain.
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.