="http://www.w3.org/2000/svg" viewBox="0 0 512 512">

24 Voting

You can add a voting star (?) to your content!
It is much like a ‘Like-button’ on Facebook. Users click the star to cast a vote. A number next to the star will show the total number of votes. If a user voted for a star, the star will have a more saturated color.

How to add a voting star:

Use the shortcode [votingstar id="identifier"] to add a star at any position within your content:

Screen Shot 2016-10-11 at 10.23.54
will turn into:
Screen Shot 2016-10-10 at 17.39.25


  • Users have to be logged in to see the stars and cast a vote.
  • Every user has one vote per star. If they click the star again, their vote is removed.
  • The number of votes shown next to the star can be interpreted as “number of registered users who ‘liked’ the corresponding content”.


  • Use a different id (id=”xyz”) for every star.
  • The id will help you identify where users have voted. In the administration panel menu “Utilities” > “VotingStar”, you can download the results (CSV file).
  • If you’re done with the voting activity, you can hide all voting stars using the corresponding setting in “Utilities”.


If you want to use the voting again (resetting it), e.g. for the next semester, use the following or a similar scheme:

  • [votingstar id="2016hs-topicxy"]
  • [votingstar id="2016hs-topicyz"]

Next time you can use

  • [votingstar id="2017fs-topicxy"]
  • [votingstar id="2017fs-topicyz"]

and you only need to perform one (!) ‘Search & Replace’ operation (in menu ‘Tools’) to get it done :

Search: [votingstar id=”2016hs    and    Replace: [votingstar id=”2017fs

Teaching Scenario

Students ‘vote’ on the parts of the material they want to be allowed to use at the exam. (Cheat Sheet)


PolyBooks: How To eskript.ethz.ch - old Copyright © 2014 by Sarah Frédérickx. All Rights Reserved.