This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes JForum and the fly likes Creating categories of categories Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Products » JForum
Bookmark "Creating categories of categories" Watch "Creating categories of categories" New topic
Author

Creating categories of categories

Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Hi,

I must modify jForum to separate the different categories in 2 main parts.

Does anyone have any idea or suggestion on how to do this ?

For the moment, i'll just limit the separation in the interface. My problem is on the way to display only the first (or the second) half of the categories.

Thanks
[originally posted on jforum.net by rhum26]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Currently jForum does not have support for categories of categories (a jForum V3 to do item though). You might be able to "fake it" with some kind of category naming scheme that would allow the the parent category to find it's children. E.g.: Create categories like:

My Category
My Category - Child1
My Category - Child2

and make sure they are grouped together. Then do some template logic to find the top level category and display "psuedo" sub categories under them.
[originally posted on jforum.net by monroe]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Hi,

I finally add an attribute to categories in database and made some changes in forum_list.htm, in category_form (admin) and some java of course.

thanks .. monroe .. again ;)
[originally posted on jforum.net by rhum26]
 
GeeCON Prague 2014
 
subject: Creating categories of categories