[TYPO3] Nested Content Elements

Tapio Markula tapio.markula at dnainternet.net
Sat Jul 29 11:59:10 CEST 2006


Bernhard Kraft wrote:
> Hello,
> 
> 
> I wrote a nice extension which allows you to nest content elements like it is
> known from TV FlexibleContentElements - but for traditional MTB:

I looked the source code of class.ux_tx_cms_layout.php

It tries to take account both Typo3 3.8.x and 4.0.
But in one point failure. For big buttons it is necessary to create 
condition for Typo3 3.x and 4.0

// Add the big buttons to page:
		if ($this->option_showBigButtons && 
$this->modTSconfig['properties']['web_layout.']['disableTopBigButtons']==0) 
{
			$bArray=array();
			
			if($Typo4){
				$title=$GLOBALS['LANG']->getLL('editPageProperties');
				$titleLang=$GLOBALS['LANG']->getLL('editPageProperties_curLang');
				}
			else	{
				$title=$GLOBALS['LANG']->getLL('editPageTitle');
				$titleLang=$GLOBALS['LANG']->getLL('editPageTitle_curLang');


BTW. I have not taken account workspace - I must add that.
It is hard to make plugins compatible both with typo3 3.8.1 and 4.0.x.



More information about the TYPO3-english mailing list