After lots of searching, and money spent on plugins, I’m turing here for some help!
Categories has been the one thing eluding me in Expression Engine, there just doesn’t seem to be a clear, easy way to use them.
But, I already have a site setup using them and don’t want to go through the hassle of trying to change it now.
Currently I have a customers site setup like so>
Resource (if segment_2 is empty) will display the parent categories of all the listings with a count of total posts within the respective categories.
When you click on one of the parent categories it populates segment_2 and will show the listings. Now I want it to show the sub-categories of the current parent category being displayed.
Right now I have this setup: Crumbly (to show breadcrumb nav), Child Categories (to display the child categories of the parent being viewed), and Low’s Seg2Cat (to resolve the url segment to the category ID for the Child Categories plugin).
This works, somewhat… The problem is how the categories are linked.
Currently it works something like this:
When viewing the parent category everything shows up like it should (not formated yet just trying to get the code done first).
The breadcrumbs are there, and you can see the child categories of the parent category being viewed.
When you click the link for one of the child categories it replaces the parent category segment though!? This then breaks the Child Categories plugin, because the segment it was using to find the child categories is gone.
So the links looks something like this:
http://website.com/resources
>Multiple parent resources here, click on one and you get>
http://website.com/resources/category/parent
>Click on one of the child resources and you get>
http://website.com/resources/category/child – instead of http://website.com/resources/category/parent/child
Hope someone can help. I would really like the child categories to link ‘logically’ after the parent, and not replace it.