Hi, I happen to have a module which inlines a poll. Doing this is far from trivial. Let's say you have node/123 and it'sa poll. Then [[poll: 123]] inside another node body will just become that poll. The module is at http://drupal.pastecode.com/2999 written for 4.7.3 it will NOT work with 4.7.2 because of a form API bug fixed in .3 (if you exclude previews then it might) Feel free to adopt just drop me & the list a line Regards NK
Hello, 2006/8/13, Karoly Negyesi <karoly@negyesi.net>:
I happen to have a module which inlines a poll. Doing this is far from trivial. Let's say you have node/123 and it'sa poll. Then [[poll: 123]] inside another node body will just become that poll.
Did you try Attached Nodes module (http://drupal.org/node/11988)? Cheers, Henrique
Did you try Attached Nodes module (http://drupal.org/node/11988)?
IMNSHO you need special code to handle to poll voting form... a generalized attached node module can't do it. For eg. the poll_vote function relies on arg().
participants (3)
-
Henrique Recidive -
Karoly Negyesi -
karoly@negyesi.net