[TYPO3-dev] Usability of the Columns view
Tapio Markula
tapio.markula at dnainternet.net
Mon Apr 3 09:00:38 CEST 2006
Erik Svendsen wrote:
> Hello Tapio,
>
>> I would sometimes test alternatives,
>> but the problem is that TV and Web>page are incompatible.
>
>
> Today they are, but I'm not sure they will be in the future. Mostly
> because TV is a module on top of the other.
What about creating a checbox for the root page into an extension?
That should work recursively. Does the kickstarter create recursive
working checkboxes?
then it could be possible to alter function ext_makeToolBar()
to work differently
$tmpTSc ['properties']['newContentWiz.']['overrideWithExtension'] is
presumably just a boolean value.
$useTemplaVoila = // this should be data from 'pages' field
xx_xxx_templaVoila and would return either 0 or 1
That should work recursively. Does the kickstarter create recursive
working checkboxes?
Or how to detect what is the root page of the site?
Alternatively a new value for TS Config.
I know way to add them for TS Config for users/user groups.
But how to detect TS Config for pages and use it like
$tmpTSc ['properties']['newContentWiz.']['overrideWithExtension']
$newContentWizScriptPath =
TYPO3_mainDir.'sysext/cms/layout/db_new_content_el.php';
if($useTemplaVoila) {
$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');
More information about the TYPO3-dev
mailing list