Project

General

Profile

Actions

Bug #17014

closed

generated page won't reflect 'doktype' settings

Added by Rico Moorman over 17 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
Should have
Category:
Communication
Target version:
-
Start date:
2007-02-20
Due date:
% Done:

0%

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

Description

When you have the doktype of a page set to 'advanced' you have one certain option to choose (Show content from this page instead) where you can enter a certain page which will be used to display content from.
However if you set the doktype back to 'standard' this option will still affect FE display but the field is not visible anymore, suggesting that it won't be used anymore.
This is being caused by the following line in "tslib/class.tslib_pagegen.php"
96 if ($GLOBALS['TSFE']->page['content_from_pid']>0) {
which doesn't take the doctype settings into account.

Changing this line in order to reflect the BE page settings would certainly save some headaches in some cases : )

(issue imported from #M5030)


Files

patch_bug0005030.diff (804 Bytes) patch_bug0005030.diff Administrator Admin, 2007-06-14 10:48
Actions #1

Updated by Graham Solomon over 17 years ago

Added Patch

Actions #2

Updated by Martin Kutschker over 17 years ago

To be consistent you had to clear all other fileds that advanced has like keywords. But I see that this particular field gas probably the most dramatic effect.

BTW, for this reason a different icon in the page tree would be great.

Actions #3

Updated by Martin Kutschker over 17 years ago

Another issue:

A page that contains a URL, because it was at some point of type external URL will always get the target for that page type. So it's likely that it will open up in a new window and you don't know why.

Actions #4

Updated by Christian Kuhn over 15 years ago

This has been fixed with #18108 (trunk rev. 3078) for TYPO3 4.3.0alpha1 by merging standard and advanced doktype.

Actions

Also available in: Atom PDF