Bug #14829
closedfunction ext_makeToolBar() in class.t3lib_tsfebeuserauth.php
0%
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)