Categories with hierarchical structure?
6 posts
• Page 1 of 1
I'm trying to use the great library db application for a catalog of different medias (books, dvds, links ...). While looking on the demo I recognized, that there is only one hierarchy in the categories.
So I my question is: is it possible to create categories with subcategories? And if this feature is not implemented yet - is possible to create this feature? THX for the help ...
The library application currently does not support sub-categories.Ê It wouldn't be difficult to add, however.Ê All that would be required is to add a 'parent_id' column to the categories table to track whether a category is a subcategory of another category - and re-jig a couple of things in the UI to make it work nicely with the multiple levels.Ê Hence it is quite possible that future versions would have this feature. Best regards Steve
Re: Categories with hierarchical structure?hi i a not sure if there have been furture upgrades since this post was created... but i am wanting to add the sub categories.. now i have created a parent id for my main category but how and wherw exactly do i link this? and if there is an upgrade already where can i get it??
hope this makes sense. just pulling my hair here :S
Re: Categories with hierarchical structure?There is no update for subcategories at this time. It wouldn't be tremendously difficult to add this functionality if you are comfortable with Xataface and its conventions.
Re: Categories with hierarchical structure?oh ok??
so the comment above mine ----- All that would be required is to add a 'parent_id' column to the categories table to track whether a category is a subcategory of another category - and re-jig a couple of things in the UI to make it work nicely with the multiple levels ----- is not as that simple? i have done the parent_is column but just don't know which file to "rejig" in order to show the link and categories [sub categories in the UI please advise i know you are not supporting this app .. but it is truly a great application ! thanking you kindly
Re: Categories with hierarchical structure?The main changes will likely need to occur in the actions/browse_by_cat.php file. This is the action that shows the books by category.
6 posts
• Page 1 of 1
Return to Library DB Discussion Who is onlineUsers browsing this forum: No registered users and 11 guests |