Issue Bug Closed

#17014generated page won't reflect 'doktype' settings

Rico Moorman 02/20/07, 08:13 updated 08/06/10, 13:21

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)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.