[TYPO3-templavoila] Setting default starting page
Tapio Markula
tapio.markula at atwebteam.com
Thu Dec 28 11:10:35 CET 2006
Hi
I tried to give for TemplaVoila's page module user defined default uid,
but I could't get solved issue, which relates with new page wizard.
Setting default uid prevented the new page wizard working and I didn't
find any solution, how to get both new page wizard and setting default
starting uid (starting page) working.
That failed even if I tried to take account the new page wizard
$myGET=t3lib_div::_GET();
$confPropertiesShared =
t3lib_BEfunc::getModTSconfig($this->pageinfo['uid'],'mod.SHARED');
if(isset($myGET['positionPid']) && $myGET['cmd']=="crPage") {
unset($confPropertiesShared['properties']['startID']);
unset($this->id);
unset($myGET['id']);
}
elseif($myGET['id']==0 && $myGET['cmd']!="crPage" &&
$confPropertiesShared['properties']['startID'])
$this->id=$confPropertiesShared['properties']['startID'];
BTW. Once again prolem relates somewhat selecting templates.
TemplaVoila is otherwise quite ok but it has many serious problems
always, when should select DS and/or TO.
More information about the TYPO3-project-templavoila
mailing list