[TYPO3-core] RFC #8913: Empty tabs in DynTabMenu should not be selectable by default

Martin Kutschker masi-no at spam-typo3.org
Sat Jul 12 16:38:27 CEST 2008


Benjamin Mack schrieb:
> Hey all,
> 
> this is a SVN patch request.
> 
> Branches: TYPO3_4-1, TYPO3_4.2 and trunk
> 
> Type: nobrainer-bugfix
> 
> BT reference: http://bugs.typo3.org/view.php?id=8913
> 
> Problem:
> If you've ever used the TemplaVoila page module with the dyntabs on top,
> you'll notice that if you empty your unused elements, the selection gets
> somehow yellow, instead of grey (unclickable). The reason is the following:
> 
> Once the page loads, it sets the "disabled" flag for every empty tab.
> However, if the session states that the tab is active (because it was
> active before) and the whole dyntabmenu is toggable, there is a call to
> set the content (which is empty) to "block" instead of none.
> 
> Solution:
> So for empty tabs the initial "show tab" call when the page is loaded
> should not be made.

Checked that there is indeed a $isNotEmpty variable, so +1 from reading.

Masi


More information about the TYPO3-team-core mailing list