Project

General

Profile

Feature #36705 » patch_20120429.diff

René Häfliger, 2012-04-29 22:19

View differences:

db_layout.php 2012-04-29 22:00:14.000000000 +0200
$body = $this->renderListContent(); // All other listings
}
//If page should be shown in list module
$forwardToListDoctype = explode(',',$this->modTSconfig['properties']['forwardToListDoctype']);
if(in_array($this->pageinfo['doktype'],$forwardToListDoctype)) {
$listModuleURL = t3lib_div::getIndpEnv('TYPO3_SITE_URL').TYPO3_mainDir.'mod.php?M=web_list&id='.intval($this->pageinfo['uid']);
$body = '<script language="javascript" type="text/javascript">
'.'top.content.list_frame.location = "'.$listModuleURL.'";
</script>';
}
// If page is a folder
if ($this->pageinfo['doktype'] == 254) {
if ($this->pageinfo['doktype'] == 254 && !in_array($this->pageinfo['doktype'],$forwardToListDoctype)) {
// access to list module
$moduleLoader = t3lib_div::makeInstance('t3lib_loadModules');
    (1-1/1)