hola,
have a site in 4.7 in which most content is organized via Forum containers. Now need to enable simple polls that can be added as a new topic thread to any given forum container. [Adding polls to forum nodes themselves would also be groovy, a la built-in CCK in 5.1, but am not attempting that with 4.7.]
This is apparently feasible, but the following steps do not work for me:
1. enable core polls module
2. enable access to poll creation and viewing
3. make sure polls are published in admin>settings>content type>poll
4. in admin>categories add 'poll' to node types associated with Forums vocabulary
Step 4 ensures that one gets a dropdown during Poll creation that offers you the various Forum taxo terms. Indeed, when looking at the freshly created Poll, its breadcrumb does categorize it as belonging to a selected Forums vocab term (i.e., container) -- but it never shows up in that Forum itself.
Tried the process a second time using a freshly created CCK type with a pollfield in it. Same problem - just doesn't appear in Forum, despite belonging to that Forum's taxo term. It knows it belongs to that Forum, but is not displayed as a new topic along with all the other Forum topics.
Anyone succeed in adding polls to Forums using 4.7? Help?
Comments
Only in Drupal 6
This isn't possible in Drupal 4.7, but a patch to allow this just got committed to Drupal 6: http://drupal.org/node/20295
Many thanks! Will wait, and
Many thanks! Will wait, and reconceptualize. Odd that the UI to add other node types to forum vocab is there, but with no functionality.
Use the Pollfield module to add a field to your forum topic
I recently found the Pollfield module. It creates a field that can be added to any content type. I added a pollfield to my "forum topic" content type. This allows me to add polls to forum posts whenever I want them.
To do this, first install the Pollfield module. Then go to admin/content/types and Edit the "forum topic" type. Click "Add Field", give it a name, and then select the "pollfield" radio button under "Field types". This will add some extra fields to your forum topics that you can choose to fill in when you want to add a poll to a forum post. I also changed the weight of this field under "Manage Fields" so that it displays below the Body field of the forum topic.
I also applied this patch to the module so that it doesn't display the pollfield when it is empty.
This worked for me in Drupal 5 as a quick alternative solution.