The default theme function
function theme_tabset($element)
seems to allow themeing only for ALL tabsets.
It would be great is themeing could be at tabset level.
For example, on some tabs, I prefer the tabs at the bottom.
Regards
Alan
The default theme function
function theme_tabset($element)
seems to allow themeing only for ALL tabsets.
It would be great is themeing could be at tabset level.
For example, on some tabs, I prefer the tabs at the bottom.
Regards
Alan
Comments
Comment #1
panji commentedyup,.. great idea,.. please help us
Comment #2
PinkChocobo commentedI've been trying to find a way to do this for 2 days now, grumble grumble
Comment #3
alanburke commentedOk, It CAN be done. But it's not trivial.
function theme_tabset($element)will do the job.
Basically, you can do a switch based on the $element[#name],
and the provide different theme code depending on the name.
No code to hand on this machine...
Alan
Comment #4
ebeyrent commentedTry this out (Drupal 5 code):
Comment #5
nedjoSince forms api calls the theme function it's not easy to introduce a per-tabset call.
So using the #tabset_name attribute seems to make sense. Note that you can explicitly set the #tabset_name in your tabset element if desired.