I don’t think I can get this working at all. Here’s my code:This is embedded in a loop. I was embedding the first parameter, but decided to hardcode it instead just to get something to show up. I consistently get one result, which is category 29’s title. Utterly baffled about that. Weird thing is: parent_id=”29” is what’s used in the example inside the plugin itself.{exp:recursive_subcategories parent_id="111" show_parent="1" sort_by="cat_order" style="linear"}{category_name}{/exp:recursive_subcategories}
I have gotten the full list of categories when testing the tag. I have not tested when embedded in a loop. I’ve had problems myself with code embedded in loops in other contexts before.
Fork you all. It’s now on Git: http://github.com/slimkiwi/sk.recursive_subcategories.ee_addon/tree
Mark, I forked the repository and added the ability to return category_url_title and category_description. So this plugin is working for me now and is a lifesaver, thanks.
I sent you a Pull Request on GitHub - so that should give you some practice merging my tweak/update back into the main plugin. That is, if you deem my contribution worthy.
It probably isn’t too difficult to do - I don’t think this is a really complex add-on. The Adventures in Updating an ExpressionEngine Plugin from 1.6.8 to 2.0 article explains the basics, with links to the EE documentation.
Ryan,
I forked your fork on github (as it has the function I need), went through the link provided and modified all the things that I thought were required, however it’s still not showing up. (I’m very new to ee, so I must have missed something dead basic.)
Any chance you could have a look?
http://github.com/daulex/sk.recursive_subcategories.ee_addon
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.