Fork me on GitHub

Subcategories in FAQ Categories  Bottom

  • 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.
  • 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?
  • 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
  • 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 :(

This list is based on users active over the last 60 minutes.