Comments (7)
please try version 4.2
fixed: return a no results text if there are no votes on poll details
maybe that's an issue
from poll.
Thank you. I tried Poll 4.2 and learn that even polls created in Elgg2.3 with votes, it still displays only 'No vote has been cast yet'.
Also, I just noticed that polls created in Elgg2.3 display differently from polls created in Elgg3.2.
Below poll was created in Elgg2.3
Below poll was created in Elgg3.2
One other issue is that after casting a vote, when I visit that poll, it throws Javascript error complaining about chartjs. So, I did further research and found out poll/elgg-plugin.php refers to chartjs library in vendor/npm-asset directory. But chartjs does not exist there in Elgg3.2.
from poll.
Correction to previous comment
First attachment is the poll created in Elgg3.2 and the second in Elgg2.3
from poll.
How did you install the plugin?
- using composer
- zip download from community
- zip download from github (if so, did you use the 'source code' zip or the 'poll_v4.2zip')
If chart.js isn't installed in either webroot/vendor
or webroot/mod/poll/vendor
that explains the problem. The github source zip doesn't have all dependencies, the 'poll_v4.2.zip' does have it.
Or if you install using composer, that should also download the correct version and install it.
from poll.
I chose poll 4.2 and ran git clone it using HTTPS approach. How can I run composer install poll plugin?
Thanks so much!
from poll.
go to the /mod/poll
folder and run composer install --no-dev
from poll.
Awesome! Thanks jeabakker!
I just learned that why polls created in Elgg2.3 look different from Elgg3.2. In my Elgg2.3 site, I use Poll version 2.3.4 and the poll objects do not have answers metadata like Poll version 4.*
from poll.
Related Issues (10)
- FR: clear votes
- deprecated function
- composer install issues npm-asset/chart.js not found HOT 2
- Fr translation HOT 1
- title of poll not showing in widget HOT 1
- River poll with Ajax.
- Error when trying to view the results - any ideas? HOT 2
- elgg 3: check support for entity_tools migrate
- elgg 3: check widgets
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from poll.