Project

General

Profile

Actions

Bug #16791

closed

New default behaviour for PAGE_TARGET

Added by Benni Mack almost 18 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Should have
Category:
Content Rendering
Target version:
-
Start date:
2006-12-15
Due date:
% Done:

0%

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

Description

Hey,

I am developing a lot of web-sites with TYPO3 now, and one thing that
annoys me is the Template Constant "PAGE_TARGET" which is the "Default
target for internal links". Hmm, this was indeed very very useful back
with TYPO3 3.5 when a lot of websites were built with frames. But
nowadays: who does websites still with frames? I think it's definitely
not the majority. That's why I would suggest to change the default
behaviour to "".
Right now, the default behaviour is "PAGE_TARGET = page", but I would
just change the static code to "PAGE_TARGET = " for new installations (=
for 4.1), so a lot of admins don't have to think about this annoying
thing every time. After all, we want to help new people getting a site
up and running with almost no configuration in very short time.

http://lists.typo3.org/pipermail/typo3-dev/2006-December/021379.html

This is how it is solved:

Add the following lines to
typo3/sysext/css_styled_content/static/constants.txt
----------------
[compatVersion = 4.1.0]

PAGE_TARGET =

[end]
----------------
(issue imported from #M4662)


Files

page_target_default.diff (1.46 KB) page_target_default.diff Administrator Admin, 2007-10-23 17:53
page_target_default_compat.diff (2.91 KB) page_target_default_compat.diff Administrator Admin, 2007-10-23 21:20
page_target_default_compat_new.diff (2.54 KB) page_target_default_compat_new.diff Administrator Admin, 2007-10-27 21:36
Actions

Also available in: Atom PDF