Project

General

Profile

Actions

Bug #17188

closed

Hardcoded value for target of external links

Added by Kirill Klimov about 17 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Content Rendering
Target version:
-
Start date:
2007-04-04
Due date:
% Done:

0%

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

Description

For now value for target of external links is hardcoded to the '_blank' instead of using existing constant $PAGE_TARGET

Current code

styles.content.links {
keep = path # cat=content/links; type=small; label= Target for external links
extTarget = _blank
target = {$PAGE_TARGET}
allowTags = b,i,u,a,img,br,div,center,pre,font,hr,sub,sup,p,strong,em,li,ul,ol,blockquote,strike,span,h1,h2,h3,h4,h5,h6
}

should be

styles.content.links {
keep = path # cat=content/links; type=small; label= Target for external links
extTarget = {$PAGE_TARGET}
target = {$PAGE_TARGET}
allowTags = b,i,u,a,img,br,div,center,pre,font,hr,sub,sup,p,strong,em,li,ul,ol,blockquote,strike,span,h1,h2,h3,h4,h5,h6
}

css_styled_content 0.3.1
(issue imported from #M5364)


Files

bug_5364.diff (557 Bytes) bug_5364.diff Administrator Admin, 2007-04-28 00:03
Actions #1

Updated by Matthias Kall about 17 years ago

For my patch I took a different approach: I left the values alone due to backwards compatibility and added the comment line for the internal target. This way it can be edited in the constant editor.

Actions #2

Updated by Kirill Klimov almost 17 years ago

Martin, why you have set status to feedback?
What feedback do you want to get?

Actions #3

Updated by Susanne Moog over 13 years ago

It's not hardcoded, it's just set to _blank by default and can be changed through the constant editor. It's exactly the same as PAGE_TARGET with the one difference that PAGE_TARGET is at the advanced section, older and meant for the use with frames.

Actions

Also available in: Atom PDF