Hi guys,
I'm a newbie in postnuke and have just installed it. Everything went smooth but there seems to be an issue with subcategories of FAQ categories.
I read there's support for unlimited depth subcategories, but when I create subcategories of FAQ categories, they're not shown. FAQ only shows the first depth level, no subcategories.
I placed "-1" as value for all categories and subcategories.
Is this a bug, or doesn't postnuke support multi-level FAQ's?
Thanks guys
Jose
P.S: not sure if this is the place to put this question, but couldn't find a more suited place.
Watch
GitHub Core
Show your support for Zikula! Sign up at Github account and watch the Core project!
GitHub Modules
- internetking created topic »password problem« 25. May
- mesteele101 responded to »ERR (3): E_USER_ERROR: Smarty error: [in pagesvar:pagesitem2en line XXX]…« 25. May
- mazdev responded to »Pages 2.5.0 and updating - Page not found« 25. May
- ehdwma created topic »Hide "Register new account" and change template to 3 col« 25. May
- mesteele101 responded to »Zikula 1.3.3 - Selecting a category in Pages not working« 25. May
- mdee created topic »How to implement returnpage ?« 25. May
- nestormateo responded to »Fillters in Clip« 24. May
Zikula Blog
- Anatomy of Open Source Projects on Mar 07
- Continuous Review on Mar 01
- Not Invented Here on Feb 24
- How to Contribute Your Code at Github on Jan 13
- 10 Steps to Coding-Nirvana: Tips for Successful Module Writing on Nov 12
- Submitting Bug Report Tickets That Get Results on Aug 17
- Cozi Tricks #1: Syntax Highlighting on Aug 07
Login
Subcategories in FAQ Categories
-
**unknown user**
- Rank: Registered User
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 19
I have a similar problem with the categories module in general.
Editing the name of a top category makes it and all the cats inside it vanish from the top of the tree. So I created sub categories in it. When I edited the top category again, it vanished again. I looked into the data base and there was a new category created. I deleted that, and all the original, as well as my first set of categories were listed again.
Also, when I post news, the box that says choose category should offer me all those categories to choose from, but there is nothing there - just choose category. I can submit the news anyway without selecting category.
One more thing. When I edit news, there is no option to add/change category either.
My Menu bar on the left throws an error when I click on categories (I can enter just fine into the admin menu.
Can someone help me? -
- Rank: Team Member
- Registered: Jan 05, 2003
- Last visit: May 28, 2010
- Posts: 775
I think I can. This is a basic convention used by the category module which you guys are running up against. The category system uses the following conventions:
1) If a category as a value of -1, it is considered to be a non-leaf node. This means that this category is considered to be a category which is intended to serve as a parent category for other categories.
2) If a category as a value other than -1, it is considered to be a leaf node in the sense that it won't contain subcategories.
3) Also be aware that a category can be marked (in)active, which also affects it's display status.
The category takes note of this and for certain selections only offers you non-leaf nodes. The following example may illustrate this:
- FAQ (-1)
-- Politics (P)
-- History (H)
-- Other (-1)
--- Sports (S)
--- Entertainment (E)
The values in brackets are the values held in the category 'value' field. In this example, for the selection of a new category's parent value, only the categories FAQ and Other will be displayed since all other categories have a value != -1.
I hope this explanation makes sense and shines some light on your issues. If not, come back here and I'll try to do a better job explaining it.
Greetings
R -
**unknown user**
- Rank: Registered User
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 19
Ok, makes some sense. I guess I've found a direction. Now what remains is to fiddle around and make things how I want them to be. Why does editing the name of a category make it disappear though? I don't know how to get my stuff back anymore :(
- Moderated by:
- Support
