default

Events happening in the community are now at Drupal community events on www.drupal.org.
rabidgadfly's picture

Default number of choices with default values

I'd like the ability to have a set of choices appear by default when creating a new poll. I'm currently working on a voting application and it would be convenient to be able to have 'Yea', 'Nay', and 'Abstain' appear as default choices whenever a new poll is created.

I looked at the code a bit but I'm not sure where this type of functionality should be added. I think it would make sense to add it as optional behavior inside the content type. Possibly add a "default number of choices" and "default choice values" as a comma-delimited list?

Any help/direction would be appreciated.

Read more
tedbow-gdo's picture

How can you set Default catogories on the fly?

Is there a way I can set a default term for the "node add" form?

Here is my problem:

1.When a user first comes to a site they pick a geographic location which is taxonomy term for the "Location" vocabulary.
2.That term id is stored as a session variable.
3. The user later clicks a link to add a node, which also has the "Location" vocabulary .
4. I want the "Location" vocabulary to default to the term that is stored in their session.
5. they should still be able to change the term.

I am also using the Hierarchy Select Module.

Read more
Subscribe with RSS Syndicate content