[TYPO3-core] RFC: Feature #6779 (tabbed menu as separate file)

Tapio Markula tapio.markula at xetpoint.fi
Wed Nov 21 13:42:31 CET 2007


Malte Jansen
> But you forgot the parameters... 

I put always the same parameters.

But I found that template.php must have

	function getDynTabMenuId($identString) {
		$id = 'DTM-'.t3lib_div::shortMD5($identString);
		return $id;
	}
	
	function icons($type,$styleAttribValue='',$backPath='',$skinImage=true)	{
		t3lib_iconWorks::icons($type,$styleAttribValue,$backPath,$skinImage);
	}

because extesion classes inside template.php need them.



class.t3lib_tabmenus.php had two syntax errors related with

	// control layout - table wrappers or without wrappers - wrappers make 
possible to create rounded background images for tabs
		if(isset($conf['useWrappertable'])) // this is for frontend plugins - 
so must have priority
			$useWrappertable=$conf['useWrappertable'];
		elseif(isset($this->modSharedTSconfig['properties']['useWrappertable']))
		 
$useWrappertable=$this->modSharedTSconfig['properties']['useWrappertable'];
		elseif(isset($this->PageTSConfig['mod.']['SHARED.']['useWrappertable']))
		 
$useWrappertable=$this->PageTSConfig['mod.']['SHARED.']['useWrappertable'];


More information about the TYPO3-team-core mailing list