Closed (fixed)
Project:
Advanced Poll
Version:
5.x-1.0-beta6
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
15 Aug 2008 at 18:32 UTC
Updated:
2 Oct 2008 at 19:32 UTC
I have a content type that tracks requests to distribute documents/information to researchers. I would like to be able to automatically create a simple Yes/No poll for each submission so that other members can vote on the requests approval.
Example, I create a new request #R100. I would like to have a poll automatically created with a question "Do you Approve of R100" Yes/No.
Perhaps I could put the poll in a block until the status field of the request changes from pending to approved/denied.
Any thoughts on how to accomplish this?
Thanks
Comments
Comment #1
ckngCoincidentally, I'm looking for the same functionality.
I.e. A new content type A being created, a new predefined poll will be tied to A as part of the 'content'.
CCK to the poll? A block should work also. Any idea?
Comment #2
ckngHere is how I did it, taken from node_factory
- install workflow_ng and token module
- create a workflow 'make child by parent' for event 'Content has been created'
- add a condition 'is parent' and select the 'parent' content type
- add an action 'create child' of type 'execute PHP code'
- add the following PHP code to the action. Note the usage of token constructs like [node:title] and without the
<?php ?>Comment #3
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.