Auto populate the active select dropdowns from cck contenttype properties

Phaze679 - November 9, 2007 - 09:54
Project:Active Select
Version:5.x-1.0
Component:Miscellaneous
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

Hi!

Can anyone please explain to me how i can dynamically populate the dropdowns in activeselect with the properties (cck fields) from a custom contenttype?

Example:

A room has several layouts, of which the user can choose, based on his needs

So i would like the first select to be the different rooms, the next one all the layouts for a chosen room.

Is this possible to do, and so how?

I'm using cck taxonomy, but i'm not sure if i did it correctly...

I've made a vocabulary for rooms, with layout as term...

Can anyone give me some pointers for this one?

Thx in advance!

#1

BarisW - December 1, 2007 - 22:36

Create a vocabulary called layouts as follows:

Room1
-- Layout 1
-- Layout 2
-- Layout 3
-- Layout 4
Room2
-- Layout 1
-- Layout 2
-- Layout 3
etc

I used it on a profile content type, to select the place the user lives in. First level is country, second level is Province and third level is Place. Works great!

Cheers. Baris
Sixcolored

#2

Roger Saner - March 16, 2009 - 10:50

I found this http://drupal.org/project/hierarchical_select and it autopopulates a select list with child terms based on the first select taxonomy term.

Also mentioned here: http://drupal.org/node/306147#comment-1361130

 
 

Drupal is a registered trademark of Dries Buytaert.