[TYPO3-core] RFC: Feature #6779 (tabbed menu as separate file)
Tapio Markula
tapio.markula at xetpoint.fi
Wed Dec 5 19:06:35 CET 2007
Malte Jansen kirjoitti:
> Tapio Markula schrieb:
>> 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'];
>>
>
> You did not get it...
>
> You remove this part from the tceforms (search in the trunk-version):
> $GLOBALS['TBE_TEMPLATE']->getDynTabMenu($parts, $idString, 0, FALSE, 50,
> 1, FALSE, 1, $this->dividers2tabs);
>
> You need these Parameters to call the moved
> t3lib_tabmenus::getDynTabMenu. If you remove something you must put it
> somewhere else, otherwise it does not work correct.
>
> Please, check it on running system. Please, submit only patches which
> you have tested.
>
> This is my last answer to this thread.
fixed patch - made using Tortoise
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tabbedmenupatch.patch
Type: text/x-diff
Size: 43959 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20071205/6816117d/attachment-0001.patch
More information about the TYPO3-team-core
mailing list