I just tried to install the polls module to SS 2.3.1, and I don't see any mention of polls anywhere. Has anyone managed to get polls working with SS 2.3+ yet?
Hans
This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.
I just tried to install the polls module to SS 2.3.1, and I don't see any mention of polls anywhere. Has anyone managed to get polls working with SS 2.3+ yet?
Hans
@Mad_Clog
Is your polls module/widget in a usable state? I was hoping to add a poll to a single page, but it appears that no-one knows how to get the existing Polls module working with Silverstripe 2.3.1.
I just had a look at the latest trunk build of the Polls module, and it works with Silverstripe 2.3+. So, anyone who wishes to use the Polls module should download the latest trunk build, not the latest release.
Hans
Hi Tiga,
I had the same problem but now I have got it sorted. If you still have the problem, here is the fix to it.
I am using SS 2.3.1 core stable release: http://www.silverstripe.org/assets/downloads/SilverStripe-v2.3.1.tar.gz
Delete your "polls" folder from your server.
Run /dev/build
Download this trunk daily build of the polls module:
http://open.silverstripe.com/changeset/latest/modules/polls/trunk?old_path=/&filename=/modules/polls/trunk&format=zip
Replace your "polls" folder with the trunk version as above. Please note that this zip file has the necessary files in a "trunk" folder. Make sure that in addition to the the "polls" folder being in the root of SS, you should move all the files and sub-folders from the "trunk" folder to the root of the "polls" folder. Upload them to the server.
Run /dev/build
Now you will be able to see the Polls tab in the CMS.
I am able to create a Poll but am now trying to work out how to display the poll on a page. The stable release 0.1 does not have a README in it with instructions. The trunk build above has a README but no instructions!! I have advised one of the SS developer who has added that to the list of things to do.
Good Luck
Hi Ulysses,
here's more info on how to make the poll display in the front end:
http://doc.silverstripe.com/doku.php?id=modules:polls#showing_the_poll_on_the_frontend#installation
I just followed the instructions and it worked fine. Make sure though that you have the 'genericdataadmin' installed, and that your poll is called the same thing as the function in:
function MyPoll() {
return new ShowPoll($this, 'MyPoll');
}
This is all explained in the documentation.
Thomas
Hmm. I too followed al the instructions including the genericdataadmin folder, etc. and it did not work. After consulting with the developer who works on it at SS, I got the version that does work. Maybe they have updated the version available for the download and all is OK. That is great.
I would be interested to find out how not to display it on the forum module.
Does anyone know how NOT to display it on the Forum pages?