Issue Bug Closed

#14829function ext_makeToolBar() in class.t3lib_tsfebeuserauth.php

Hannele Markula 09/06/05, 20:38 updated 04/29/10, 14:44

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)

Reviews 0

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