I'm using the Category module to give category support to a module I'm working on. When I go to the edit/create category screen from my module (like going in form the News module), I do not see a way to assign a parent category to the category I'm entering. Is there a parameter that needs to be used to turn on subcategory support? I know you can do subcategories going through the Category module admin.
--
cyber_wolf
www.bkbsolutions.com - My Zikula module development site.
- craigh responded to »TagIt 3.0 for Zikula« 03:58 PM
- jmvaughn responded to »error when i try to upgrade to the last version of dizkus module (3.1)« 12:05 PM
- localrags responded to »Remove contents of nuke_sc_anticracker from Database« 11:30 AM
- jmvaughn responded to »Shoutit for zikula 1.3?« 09:31 AM
- mdee responded to »Different page content under one template (tpl file) based on URL« 07:17 AM
- espaan responded to »Categories disappear when editing ...« 08. Feb
- eledril responded to »How decrease zikula cpu usage« 08. Feb
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 with the Categories Module
-
- Rank: Developer
- Registered: Jun 03, 2002
- Last visit: Dec 21, 2009
- Posts: 284
-
- Rank: Developer
- Registered: Jun 03, 2002
- Last visit: Dec 21, 2009
- Posts: 284
Anyone have any idea?
--
cyber_wolf
www.bkbsolutions.com - My Zikula module development site. -
- Rank: Software Foundation
- Registered: Sep 03, 2002
- Last visit: May 09, 2010
- Posts: 909
click on the parent?
--
best regards from Kiel, sailing city
Steffen Voss
Member of the Zikula Steering Committee
Read The Zikulan's Blog "If you want people to RTFM, make a better FM!" -
- Rank: Developer
- Registered: Jun 03, 2002
- Last visit: Dec 21, 2009
- Posts: 284
Does not work. I just tried with the Jan 3 build. You can do subcategories through the Category module admin panel, but not when going from another module. For example. Enter the News admin panel. Click on the icon to edit the categories. No way to enter subcategories.
--
cyber_wolf
www.bkbsolutions.com - My Zikula module development site. -
- Rank: Team Member
- Registered: Jan 05, 2003
- Last visit: May 28, 2010
- Posts: 766
This is a feature. The user edit side is designed to edit a single-category hierarchy, without subcategories. Maybe in the future this can be expanded to included subcategories, but for 0.8 it will remain as is ...
Greetings
R -
- Rank: Moderator
- Registered: Mar 15, 2005
- Last visit: May 30, 2010
- Posts: 1077
Perhaps I'm daft but:
When inside the Categories admin area, I can not add a subcategory. I would like to create a subcategory from a global category but when I attempt to create a new one and select its parent, all I see is |----Global and not the Categoryies within Global. Am I missing something?
(Realize I'm not developing a module but I searched and it seems an appropriate question to ask here.)
--
[ stevencopley.com ] -
- Rank: Developer
- Registered: Jun 03, 2002
- Last visit: Dec 21, 2009
- Posts: 284
In order to make one of the categories in Global capable of having subcategories, you need to make the categories "Category is a leaf node" field unchecked. As of the 1-10 build, the unchecking of this field is still a bug. You'll need to uncheck it directly in the database. In the table "pn_categories_category" find the category you want to have subcategories and give the value of 1 to the field "cat_is_leaf". This will then allow you to add subcategories.
Edited: This should be a value of 0, not 1.
edited by: cyber_wolf, Jan 12, 2008 - 02:14 PM
--
cyber_wolf
www.bkbsolutions.com - My Zikula module development site. -
- Rank: Moderator
- Registered: Mar 15, 2005
- Last visit: May 30, 2010
- Posts: 1077
- Moderated by:
- Support
