TYPO3GmbH / ext-usercentrics

This extension integrates Usercentrics (Compliance and Consent Management) into TYPO3.
GNU General Public License v2.0
4 stars 6 forks source link

[DOCS] Use of configuration option `priority` #28

Open SvenJuergens opened 3 years ago

SvenJuergens commented 3 years ago

Bug Report

a misleading description for the use of 'priority' in the TypoScript section of the documentation 'Usage'. image priority should be options.priority like in the Tests

Prerequisites

Description

the script is not added in the head

Steps to Reproduce

  1. [First Step] Install extension

  2. [Second Step] Read Documentation and add example Code

    plugin.tx_usercentrics {
    jsFiles {
        10 {
            dataServiceProcessor = Google Analytics
            file = https://www.google-analytics.com/analytics.js
            attributes {
                async = async
            }
        }
    }
    
    jsInline {
        10 {
            dataServiceProcessor = Google Analytics
            value (
             ....
            )
        }
    }
    }
  3. add the option priority, as seen in the documentation, at the same level as dataServiceProcessor

Expected behavior: Script should rendered in head

Actual behavior: Script is rendered at bottom

Versions

Verson 10.0.4