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
storagePid General storage page int

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

storagePid

Property

storagePid

Data type

integer

Description

General storage page where all records are stored.

Default

value of constant pluginStoragePid

feUsersStoragePid

Property

feUsersStoragePid

Data type

integer

Description

Storage page where frontend user records are stored (normally set in context of

`Frontend Login configuration<https://docs.typo3.org/c/typo3/cms-felogin/master/en-us/Configuration/Index.html>`_).

Default
value of constant styles.content.loginform.pid

Example

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