I've got a custom node template file where I'm using some of the newer CCK 2.x template variables:

$<GROUP_NAME>_rendered

When I change the fieldgroup displays from simple/fieldset to 'tabs', it no longer renders the field/fieldgroups

Have others experienced this issue/bug?

What approaches have you used to utilize the great functionality of cck fieldgroup tabs when needing custom node templates?

Thanks

Comments

sansui’s picture

I'm just encountering this myself - I need to make some custom node templates and I'm not sure how to display fieldgroup tabs in my custom node.tpl.php

What's the easiest way to do this?

ahimsauzi’s picture

subscribing

sunchaser’s picture

subscribing

sansui’s picture

When I was trying to get this to work before, I ended up having to work around this by outputting the content variable and unsetting everything else but the fields inside the tabs, so that I could display those first as I wanted, then my tabs. Not ideal or elegant, but it worked for my implementation.

It seems this module needs a theme hook, but alas, not something I can do :)

For another project that needed tabbed panes, I simply used an available javascript library and hardwired it into my theme so that I could control it precisely.