[TYPO3-core] RFC: Hide empty TDynTabs

Bernhard Kraft kraftb at kraftb.at
Fri Sep 7 13:52:52 CEST 2007


Ernesto Baschny [cron IT] wrote:

> I would also like to see more changes like that turned "on" by default
> too. I agree with Kasper here. This in particular to me looks more like
> a bug than a feature, so I would even ask why do we need to have this
> configurable? Who needs empty tabs?? Ever seen a desktop GUI application
> with empty tabs??

This is also my opinion. If its just me I would simply change the situation
to not showing empty Tabs at all. Meaning without the possiblity to configure
this.

Because I also think its rather a bug than a feature to have empty Tabs :)


But probably there is some reason i do not know why this hasn't been done
before (i mean hiding empty tabs) ... at least there is code inside template.php
which "disables" empty Tabs so they are not clickable (altough this didn't work
properly cause empty tce-form tabs weren't completly empty - there was a statement
like

<table blabla attributes>
</table>

for each empty tab which resulted in empty tabs not even being disabled :(


so if it's ok for you (any +1 ?) I will simply add the code without any configuration
option - and write down in Changelog that in new versions empty tabs are hidden

(I guess the common T3 user get's used to such new behaviour - if the tab was empty before
and now doesn't get displayed he wont bother much)


greets,
Bernhard




More information about the TYPO3-team-core mailing list