Project

General

Profile

Actions

Bug #25481

closed

default setting for styles.content.links.target fails in CSC's static template constants

Added by Anonymous over 13 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend User Interface
Target version:
-
Start date:
2011-03-31
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

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

Actions

Also available in: Atom PDF