The following seperates different template files for better structure.
This template must be activated as the root template of your TYPO3 installation.
It should include all other template definitions.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43 | #replace this uid with the one on your site
plugin.tx_felogin_pi1.storagePid = 3
config {
no_cache = true
removeDefaultJS = external
inlineStyle2TempFile = 1
meaningfulTempFilePrefix = 100
sys_language_mode = content_fallback;0
sys_language_overlay = 1
# Setting up the language variable "L" to be passed along with links
linkVars = L
// configure default language
sys_language_uid = 2
language = en
locale_all = en_GB.utf8
}
# German language, sys_language.uid = 1
[globalVar = GP:L = 1]
config {
sys_language_uid = 1
language = de
locale_all = de_DE
htmlTag_langKey = de
dateFormat = %x
timeFormat = %X
}
# English language, sys_language.uid = 2
[globalVar = GP:L = 0]
config {
sys_language_uid = 2
locale_all = en_GB
htmlTag_langKey = en
language = en
dateFormat = %x
timeFormat = %X
}
[global]
|
Please set mapAnonymous to a valid frontend user id.
Example 1

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20 | example.1 < plugin.tx_thrating
example.1 {
headerText = TEXT
headerText.value = Example 1 - classic starrating
settings {
ratetable = tt_content
ratefield = ratinglinkDemo
richSnippetFields {
name = header
description = bodytext
url =
}
mapAnonymous = 2
enableReVote = 1
cookieLifetime = 0
displayOnly = 0
display = stars
foreignFieldArrayUpdate = 0
}
}
|
Example 2

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20 | example.2 < plugin.tx_thrating
example.2 {
headerText = TEXT
headerText.value = Example 2 - smiley rating
settings {
ratetable = tt_content
ratefield = ratinglinkDemo
richSnippetFields {
name = header
description = bodytext
url =
}
mapAnonymous = 2
enableReVote = 1
cookieLifetime = 0
displayOnly = 0
display = smiley
foreignFieldArrayUpdate = 0
}
}
|
Example 3

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20 | example.3 < plugin.tx_thrating
example.3 {
headerText = TEXT
headerText.value = Example 3 - barrating
settings {
ratetable = tt_content
ratefield = ratinglinkDemo
richSnippetFields {
name = header
description = bodytext
url =
}
mapAnonymous = 2
enableReVote = 1
cookieLifetime = 0
displayOnly = 0
display = barrating
foreignFieldArrayUpdate = 0
}
}
|
Example 4

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20 | example.4 < plugin.tx_thrating
example.4 {
headerText = TEXT
headerText.value = Example 4 - vertical classic starrating
settings {
ratetable = tt_content
ratefield = ratinglinkDemo
richSnippetFields {
name = header
description = bodytext
url =
}
mapAnonymous = 2
enableReVote = 1
cookieLifetime = 4
displayOnly = 0
display = starsTilt
foreignFieldArrayUpdate = 0
}
}
|
Example 5

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34 | example.5 < plugin.tx_thrating
example.5 {
action = show
switchableControllerActions {
Vote {
1 = show
}
}
headerText = TEXT
headerText.value = Example 5 - current rating (text)
settings {
ratetable = tt_content
ratefield = ratinglinkDemo
richSnippetFields {
name = header
description = bodytext
url =
}
fluid {
layouts.default.showSummary = 1
partials {
showTextInfo = 1
showGraphicInfo = 0
}
}
mapAnonymous = 2
enableReVote = 0
cookieLifetime = 0
displayOnly = 0
display = stars
foreignFieldArrayUpdate = 0
showNotRated = 1
}
}
|
Example 6

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21 | example.6 < plugin.tx_thrating
example.6 {
headerText = TEXT
headerText.value = Example 6 - current rating (classic starrating)
settings {
ratetable = tt_content
ratefield = ratinglinkDemo
richSnippetFields {
name = header
description = bodytext
url =
}
fluid.partials.showTextInfo = 0
mapAnonymous = 2
enableReVote = 1
cookieLifetime = 0
displayOnly = 0
display = stars
foreignFieldArrayUpdate = 0
}
}
|
Example 7

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33 | example.7 < plugin.tx_thrating
example.7 {
action = new
switchableControllerActions {
Vote {
1 = new
}
}
headerText = TEXT
headerText.value = Example 7 - vote form
settings {
ratetable = tt_content
ratefield = ratinglinkDemo
richSnippetFields {
name = header
description = bodytext
url =
}
fluid {
layouts.default.showSummary = 1
partials {
showTextInfo = 1
showGraphicInfo = 0
}
}
mapAnonymous = 2
enableReVote = 0
cookieLifetime = 0
displayOnly = 0
display = stars
foreignFieldArrayUpdate = 0
}
}
|
Example 8

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20 | example.8 < plugin.tx_thrating
example.8 {
headerText = TEXT
headerText.value = Example 8 - vertical rating
settings {
ratetable = tt_content
ratefield = ratinglinkDemo
richSnippetFields {
name = header
description = bodytext
url =
}
mapAnonymous = 2
enableReVote = 1
cookieLifetime = 0
displayOnly = 0
display = facesbartilt
foreignFieldArrayUpdate = 0
}
}
|
Example 9

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24 | example.9 < plugin.tx_thrating
example.9 {
action = polling
switchableControllerActions {
Vote {
1 = polling
}
}
headerText = TEXT
headerText.value = Example 9 - polling mode
settings {
ratetable = tt_content
ratefield = ratinglinkDemo
richSnippetFields {
name = header
description = bodytext
url =
}
mapAnonymous = 2
cookieLifetime = 0
displayOnly = 0
display = polling
}
}
|