Project

General

Profile

Actions

Bug #14829

closed

function ext_makeToolBar() in class.t3lib_tsfebeuserauth.php

Added by Hannele Markula over 18 years ago. Updated about 14 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2005-09-06
Due date:
% Done:

0%

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

Description

function ext_makeToolBar() {
// If mod.web_list.newContentWiz.overrideWithExtension is set, use that extension's create new content wizard instead:
$tmpTSc = t3lib_BEfunc::getModTSconfig($this->pageinfo['uid'],'mod.web_list');
$tmpTSc = $tmpTSc ['properties']['newContentWiz.']['overrideWithExtension'];
$newContentWizScriptPath = t3lib_extMgm::isLoaded($tmpTSc) ? (t3lib_extMgm::extRelPath($tmpTSc).'mod1/db_new_content_el.php') : (TYPO3_mainDir.'sysext/cms/layout/db_new_content_el.php');

Problems:
1) the '$newContentWizScriptPath' doesn't work if Typo3 has been installed in subfolder and TemplaVoila has been installed - tryes to find file relative to root of the website

2) very problematic that it is impossible to use TemplaVoila and page, which use the standard page module to the same installation.
Could there be any method to detect the type of the site?

(issue imported from #M1432)

Actions

Also available in: Atom PDF