Sorry if I'm missing something here, but I can't find much about using this module to select the Category/Vacab of a node, overriding the standard select boxes.

Is this module designed to do this? I have a very large list of terms in 3 layers, and this style of selection is what I am looking for. Can someone tell me how to do this?

Thanks :)

Comments

Jaza’s picture

Activeselect only works with the category module, not with taxonomy. So it will only work with your categories and containers, not with your terms and vocabs ;-).

If you have multiple containers on your site, and you create a new category, then the 'container' select box on the 'create category' form will be an activeselect. Also, if you create categories that have other categories as distant parents, then some of the category select boxes on your 'create x' forms will also be activeselects.

sym’s picture

Ok, thats great, I'll just convert my vocab to categories then. My question still remains; how do I get the active selet form on the node add pages. Can the category module be extended to include this? Even making a new node type wouldn't help, as the category information is added to the node isn't it?

All I want is to use activeselect on a node add page, for a large set of terms/categories, so the user doesn't have to scroll though 100s of list items.

Thanks

sym’s picture

Any news on this? I have tested the categories quite a bit and I can't make the active select module work on the node add/edit pages.

Can anyone help me get this done?

Jaza’s picture

Title: Category Selection » Category Selection and activeselect
Project: Active Select » Category
Component: Code » User interface
Category: support » bug
Status: Active » Fixed

Seems that there was a bug in category selection boxes for containers with distant children not getting transformed into activeselects. For some reason (leftover crufty code from taxonomy- and pre-FAPI- days), these fields were getting their theme function manually set to theme('select'), meaning that theme('activeselect') never kicked in. No idea why this behaviour only showed up recently - perhaps a FAPI bug that was only recently fixed?

Anyway, a fix for this has been committed to category HEAD and 4.7 - if you download the latest version, you should now be able to get activeselects working in 'node add/edit' forms.

sym’s picture

Status: Fixed » Active

I've just tested on a fresh CVS install of drupal, category and active select (no other modules enabled apart from the default ones) and I can't get the node/add or edit form working with active select.

Could you tell me how you did this, or give me an example? I've looked at the HTML, and the class is still "form-select" not "form-activeselect".

sym’s picture

Status: Active » Fixed

Sorry, I didn't have my categories set up correctly - All sorted now, by following http://category.greenash.net.au/node/120

Anonymous’s picture

Status: Fixed » Closed (fixed)