Let's say I create a container, named "section".
Then a category under that section, named "about us" (with some body text content)
I then create a few pages, and assign them the "about us" category.
If I then go to the "about us" page, I see the body text content, followed by the list of pages I have just assigned to that category. That's fine.
But if I add a child category to "about us" (say, "our people", which will in turn have several pages), it doesn't get listed along with the pages assigned to "about us". Surely it should.
If I create a page, assign it to "about us", and *then* turn it into a category using category_transform, then it does get listed. However, I have already created quite a lot of categories, so I would like to avoid having to recreate them as pages, and then only turn them in categories.
Is this a feature or a bug?
Comments
Comment #1
venkat-rk commentedListed where? In category_display's table of contents, the cat_menu tree, in the listing of assigned categories?
Comment #2
Hubert_r commentedIt doesn't appear on the node listing, after the body content of the category.
A concrete example:
- section (container)
-- about us (category)
--- how we began (page)
--- what we do (page)
--- our aims (category)
On the "about us" category page, we have:
[body text for that category]
[list of nodes for that category:
- how we began
- what we do]
However, the sub-category "our aims" does not appear in that list of nodes.
It only appears if I create it as a page first, and transform it in a category.
Comment #3
Hubert_r commentedOk, I understand, now.
I thought that categories where the exact same thing as other nodes transformed into categories (by category_transform). They are not - and indeed they shouldn't be.
A category is just that - a category
A node (say, a page) turned into a category is still a page, but which happens to have extra category functionalities.
So in my case I should first create everything as pages, and then turned some of them into categories, instead of creating categories first.
Nice.
I think category + CCK + views is the most flexible and powerful combo ever.
Comment #4
marcoBauli commentedcleaning a bit up the queue and closing this which seems solved. Please reopen if necessary.