Getting Child Categories
-
Comments:
- here.
I’ve been racking my brain thinking about how to get child categories of a specific category. And I think I’ve just figured it out. Examine all of the other categories in a complete list, and grab all of them that have the current page’s URL at the start. The next word will be the sub-category . Of course, knowing how to split stuff in Smarty is a bit difficult. I was thinking in JavaScript…