Closed (works as designed)
Project:
TaxiSelect
Version:
6.x-1.0
Component:
Code
Priority:
Minor
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
5 May 2009 at 09:38 UTC
Updated:
22 May 2009 at 06:28 UTC
Hi Alan.
Thank's for the explanation of functionallity of your module.
I've installed and configured your module like your notes. But now I don't know how to use the module.
Is it possible to have an example of code to insert into a form?
For example I must change this code
$form['q3']['previous_motocycle'] = array(
'#type' => 'select',
'#title' => t('If YES what is the constructor?'),
'#options' => array(
'-' => t('Choose...'),
'aprilia' => t('Aprilia'),
'benelli' => t('Benelli'),
),
'#prefix' => '<div class="content">',
'#suffix' => '<div class="clear"></div></div>',
);
with a call to Taxiselect module.
Can you explain?
Thank's,
Alex.
Comments
Comment #1
alan d. commentedIt is designed to be used with the node form. No coding is required!! BUT, it looks like you are requiring a free tagging option, which the module does not handle at the moment.
Usage example, step by step:
Yamaha
Yamaha > FJR1300
Yamaha > FJR1300A
Yamaha > XV1900
Yamaha > XV1900 > Roadliner 1900
Yamaha > YZF-R1
...
"Make" first, then add the "Model" with the "Make" as the parent term. When adding the "Series" (eg: the Roadliner), with the "Model" as the parent term, etc.
When editing a content item of type "Bike", the widget will be active.
Have a play and see if it meets your needs.
Comment #2
alan d. commentedClosing. I may look at making this more generic, but not in the near future.