Is there any way to have a poll at the top of a certain thread post or topic. Somthing where the members have to use the pole.
Like say I wanted to do a BBQ at my house, but there were 3 dates available. How can I have a poll in the thread where the members can put their choice on a poll.
Watch
GitHub Core
Show your support for Zikula! Sign up at Github account and watch the Core project!
GitHub Modules
- internetking created topic »password problem« 25. May
- mesteele101 responded to »ERR (3): E_USER_ERROR: Smarty error: [in pagesvar:pagesitem2en line XXX]…« 25. May
- mazdev responded to »Pages 2.5.0 and updating - Page not found« 25. May
- ehdwma created topic »Hide "Register new account" and change template to 3 col« 25. May
- mesteele101 responded to »Zikula 1.3.3 - Selecting a category in Pages not working« 25. May
- mdee created topic »How to implement returnpage ?« 25. May
- nestormateo responded to »Fillters in Clip« 24. May
Zikula Blog
- Anatomy of Open Source Projects on Mar 07
- Continuous Review on Mar 01
- Not Invented Here on Feb 24
- How to Contribute Your Code at Github on Jan 13
- 10 Steps to Coding-Nirvana: Tips for Successful Module Writing on Nov 12
- Submitting Bug Report Tickets That Get Results on Aug 17
- Cozi Tricks #1: Syntax Highlighting on Aug 07
Login
PN forum
-
- Rank: Team Member
- Registered: Jan 19, 2003
- Last visit: Apr 06, 2010
- Posts: 442
Hi,
sorry, there is no poll integration for pnForum available yet.
But pnForum has been designed in order to fit into the PostNuke environment nicely. Therefore it can be enhanced and customized with the help of hooks or Smarty plugins. So there are powerful means present, only the realisation is missing.
There are several approaches possible:
The nice solution would be to enrich the Advanced_Polls (or any other Polls) module with a create hook. This is the way I am including the current development version of pnUpper into pnForum (demo). This way one can create new uploads during writing a new post at once. This is no easy task though.
Another option is to use the needle functionality offered by the MultiHook module. Any module can register new needles which can than be used to describe complex contents with only a simple string. So you could write something like LINK_NEWS_45 and the result is a link pointing to a particular article. In the same manner one could replace POLL_123 by a template output fetched from the Polls module.
Adding needle functionality to a Polls module is probably less effort than the hook based integration, paying the price that there is no real assignment. Hooks know for themselves where their contents is included, while the needle is just a string.
A compromise would be to use simply the default display hook functionality. Then you have to add the poll after you wrote the article, but you can easily place this specific hook to a desired place into your template.
See also this feature request.
HTH!
--
Guite | ModuleStudio
- Moderated by:
- Support
