[master] Category 6.x
lsabug - July 11, 2007 - 20:40
| Project: | Category |
| Version: | 6.x-2.0-alpha4 |
| Component: | User interface |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Jaza |
| Status: | active (needs more info) |
Description
I was wondering if Category module will be updated when the Drupal 6 version comes along? Based on the *warning* on the module's main page I was thinking it might not be.
Thanks.

#1
Started on it already, actually.
HEAD will be recieving the first part of the 6.x port sometime soon.
#2
I'm going to go ahead and [master] this.
#3
I'm excited about 6.x. It has a lot of new functionality that will allow making Category a lot simpler, cleaner, and more efficient.
#4
subscribing
#5
Thanks for the confirmation and the work bdragon! This is a terrific module, looking forward to v6.
#6
Subscribing.
#7
First batch of changes committed. It's nowhere near working, but I got the database schema history converted over to the new system.
#8
Committed another gob of changes.
I'm liking the Drupal 6 API changes.
#9
How is the progress with this ?
#10
I'm going to start work on this. Bdragon, please let me know if you're still active as well - if not, then I'll re-assign the issue to myself.
#11
Please do, I got NOWHERE with this.. :(
#12
I've tackled most of the database changes, and I'm now getting stuck into updating the wrappers. This is a biiig job! Will post a patch when I've made more progress.
#13
Thank you for the update and work.
#14
subscribing
#15
subscribing as well :)
#16
subscribing
#17
tried out the HEAD for Drupal 6 on a fresh install, getting this error:
user warning: Table 'db_dir.category_cont' doesn't exist
is there a seperate SQL file that could be used?
If I am testing this out too early, just let me know. I know you are still working on it, and wanted to thank you.
#18
also while enabling it I get this error on the modules page:
warning: Invalid argument supplied for foreach() in dir/includes/common.inc on line 3164.
warning: Invalid argument supplied for foreach() in dir/includes/common.inc on line 3085.
#19
Do you know if category 6 will solve any issues when this module becomes big e.g. we use category on the revisionworld website and have some 8000 pages but the site grinds to a halt (memory timeout) when we try to add anything and looking through previous threads it looks like the bigger the site gets the more problems it will have.
Any suggestions?
#20
OK - after many long hours of coding, here's the first preview of the category module working with Drupal 6. Yay!!!
Listing all the changes in this code will be quite a challenge, as it's a fairly thorough rewrite of the module, possibly taking more inspiration from D6 core than from D5 category. Some of the new features that you can see already in Category D6:
This first version is working pretty well, but it still has some bugs to be ironed out, and so far it's only the absolute core category system. Many things are still left to do, some of which are:
Testing, reviews and feedback are most welcome. With some community help, I'm hoping that CVS commits and alpha releases will be happening soon.
#21
Sounds great, thanks for getting this started Jeremy.
I'd love to jump and convert some of these but timing wise we are committed to going forward on our project still using Drupal 5 and therefore i am still mostly working on fixing up category for Dr5. I am sure it won't be longr after we release our site that we'll be looking to migrate to 6.
That all being said - i like your upgrade priority list above especially #1 as this would be my biggest concern at this point. Although #5 scares me a little since for every site i have done using category the most important module to me is category_transform - which i think falls into the contrib category.
I guess if some of these and other non-cat modules come along; i'll likely jump in and do cat_transform.
Peter Lindstrom
LiquidCMS - Content Management Solution Experts
#22
Just downloaded your D6 alpha and plugged it in after reading your documentation.
Boy am I glad I have been spending hours pouring over all the drupal modules and finally finding this to get this functionnality. From what I see, this is a well known module but I am new to Drupal so there :)
I had been playing with CCK nodereference to try to simulate this. For the sake of future readers also looking for this functionnality I am listing some keywords I can think of so that search engine will reference them to this page : addnode, add_n_reference, nodeassist, cck, nodereference, autocomplete, node family, node relativity
I will be doing more testing over the weekend on this D6 version and provide some feedback then
#23
Hey, how does one "apply" the patch provided above? I just see files (not .patch files)... Do I just put them in the category directory and override the ones currently in there? (I tried that but I am getting errors about missing functions, etc).
Any help would be great.
#24
@cyclops2.0: Nope, forget about the old category directory with its files. That won't work. Just delete the old directory's content and replace it by the new ones that are rolled into the zip file.
#25
Thank you a lot Jaza that you have picked up the development again... please don´t leave us ever alone again....
no catpathauto, cattransform, catbreads and catviews is a real sucker so - maybe we can make it a group efford to recode them...
#26
D6 Alpha1 of the category module is now released: download it from the module's main page, or from CVS. Yay!
Update to my previous todo list:
Make category selection for distant-parent containers AJAXified— DONE. The new distant-parent selection is based on the AJAX select in the D6 book module, and it no longer depends on active select. It's pretty cool - give it a try.Finishing off the rest of these items (except for the last one, which has a longer timeframe) will lead us into the beta stage of Category D6. Testing and feedback of Alpha1 is welcome.
#27
PS: I also wrote a new little module, called 'category_resave', which calls node_save() for every container / category / tagged node on your site (or it can be run per-container). I just whipped it up in order to make debugging the taxonomy wrapper a bit easier. With one click, it will re-generate all the wrapper data on your site - should also work for re-generating menu items, when I get round to category_menu. Very handy!
You can find category_resave in the alpha1 release of the module (under 'contrib').
#28
good work jaza!
subscribing...
#29
Hi! This module is great, thank you Jaza and bdragon for your work. I'd like to help with porting to D6 as I need D6 version for my site.
Starting with category_display seems logical to me because it is marked TODO on your list and I need it.
Is it ok for me to start working on this or have you already started it youself? Is there anything I should know before starting?
#30
Etzel: I am currently working on the book wrapper, and on category_menu and category_display (these three are very closely linked). So if you could wait until I have those modules finished, it would be super. These three are also quite tricky, as there have been significant changes to the D6 version of the book module - I'd rather tackle the emulation of these changes myself.
#31
Ok, I'll wait. Thanks for the reply.
I wonder if the book wrapper is really needed. Haven't seen many modules dependent on the book.module.
#32
The category uses book for navigation and several things not found in taxonomy.
Indeed, the modules depending on book would integrate to category.
#33
Alpha3 of the Category module for D6 has been released. What's new in this release:
Notes:
- category_menu doesn't yet set breadcrumbs, it will do this soon.
- there is currently no wrapper install / uninstall script, but you can enable / disable them yourself by renaming the .module and .info files to .module.renameme and .info.renameme, or something like that.
#34
Alpha 4 is now available. What's new:
#35
Which other modules does this Alpha 4 not work good with ? What I know there was problems with a few, I think Views was one of them ?
#36
I'm reading the docs in the category web site.
In the docs section, there is a tutorial about using views with category.
I can't find in the "containers edit" the "category view settings box" to select the custom view that I created.
My doubt is: does this button exist in the Drupal Category 6.x-2.0-alpha4? This function would be very useful.
Is There another way to do this or the view settings box will be added into the next upgrade?
#37
Let me preface this by saying that I am a newb to drupal (using ver. 6.3). I apologize in advance if these questions seem trivial, but even after reading the tutorial (which no longer seems to match the current version of the module) I'm really lost.
What I'm trying to do is create a hierarchy of classification and have that show up in the navigation menu:
Reviews
- Books
- -Fiction
- -NonFiction
Artilces
News
- Local
- National
I've tried making "Reviews", "Articles" and "News" containers. What do I have to do to make these three Containers show up in the navigation menu? I've tried so many different settings w/in the menu links section that I can't even begin to relate them all!
Thanks for your help!
#38
subscribing
#39
Hey I need help. I have installed this module on my latest drupal page, now my entire website is not working. I am getting following errors. Can anyone help me out or got similar errors and got through?
Fatal error: Call to undefined function category_link() in C:\xampp\htdocs\mysite\sites\all\Modules\category\wrappers\taxonomy\taxonomy.module on line 44
Thanks in advance!
nyctech
#40
This module is nowhere near ready for use. I installed it on my test site, could not get either containers or categories to show in the menu and then attempted to uninstall it. I had to disable half the other modules on the site to complete the uninstall, and "container" and "category" were still listed under taxonomy. Additionally, none of my books have the admin fields for book outlines.
It might have been a good module for Drupal5, but it's definitely s**t on Drupal6.
#41
I have had the same problem. The 'custom menu' setting for a top-level container is ignored.
Although the container edit page apparently saves OK, no menu setting is applied and the entries have gone on re-opening the edit page. Attempting to preview the page produces the following errors:
* warning: array_intersect() [function.array-intersect]: Argument #2 is not an array in /home/xxxxxxxx/public_html/modules/category/category_menu/category_menu.module on line 187.
* warning: array_flip() [function.array-flip]: The argument should be an array in /home/xxxxxxxx/public_html/modules/category/category_menu/category_menu.module on line 188.
* warning: array_map() [function.array-map]: Argument #2 should be an array in /home/xxxxxxxx/public_html/modules/category/category_menu/category_menu.module on line 188.
Afraid I don't know enough about this to suggest a solution!
#42
confirmed .. category menu basically does nothing