Bug #25481
closeddefault setting for styles.content.links.target fails in CSC's static template constants
0%
Description
in the constants of CSC's static template there's a declaration of PAGE_TARGET at the very bottom of the file, but above that we're trying to read its value in order to set the constant styles.content.links.target.
typo3/sysext/css_styled_content/static/constants.txt:24
styles.content.links { ... extTarget = _blank target = {$PAGE_TARGET} ... }
typo3/sysext/css_styled_content/static/constants.txt:134
PAGE_TARGET =
apparently it is possible to assign constants to other constants, i didn't know that until now. but of course the constant has to be declared before we try to read its value. you can easily see this problem by looking into the backend object browser searching in the setup-view for PAGE_TARGET. Please have a look at the attached screenshot.
placing the second piece of code above the first one, seems to fix this issue.
Files