DEPRECATION WARNING

This documentation is not using the current rendering mechanism and is probably outdated. The extension maintainer should switch to the new system. Details on how to use the rendering mechanism can be found here.

TypoScript-options for component setup

The following TypoScript-options (options are also available in the TYPO3 backend plugin) allow to enable or disable the components. (here with the default values)

# Enable or disable ratings
    ratings.enableRatings = 1
# Use plugin only for ratings
    ratings.ratingsOnly = 0
# Enable or disable sharing
    sharing.useSharing = 1
# Use plugin only for sharing
    sharing.useOnlySharing = 0

Now how are "Only"-conflicts resolved?

Sharing wins, have a look at this PHP-code:

if (intval($this->conf['sharing.']['useOnlySharing']) == 1) {
    $this->conf['ratings.']['ratingsOnly'] = 1;
    $this->conf['ratings.']['enableRatings'] = 0;
}

So this here is the correct set-up for ratings only

# Enable ratings
    ratings.enableRatings = 1
# Use plugin only for ratings
    ratings.ratingsOnly = 1
# Disable sharing
    sharing.useSharing = 0
# No plugin only for sharing
    sharing.useOnlySharing = 0