Typoscript

Please scan the following sections to find out what is configurable by using TypoScript:

plugin.tx_thrating

This page is divided into the following sections:

Reference

Property Title Type
action MVC-action to use string

action

Property

action

Data type

string

Description

MVC-Action to activa. Possible values:

  • ratinglinks
    Graphical presentation to do and to display ratings
  • mark
    One step rating similar to FB like button
  • polling
    ratings are presented as pollings giving percentages.
  • show
    Display the actual vote of the currently logged on FE user in plain text
  • new
    Generate a classic form element (default: drop-drown select field) for voting. If the user has already voted action show is used.

Important

Whatever value is configured here it must also be set in plugin.tx_thrating.switchableControllerActions.Vote:

plugin.tx_thrating.switchableControllerActions {
   Vote {
      1 = ratinglinks
   }
}

Default

ratinglinks

Example

1
2
3
4
5
6
7
8
temp.pollingDemo < plugin.tx_thrating
temp.pollingDemo {
   action = polling
   switchableControllerActions {
      Vote {
         1 = polling
      }
   }