with contemplate I can see the cck variable and print inner a custom .tpl.php file;

but isn't possible to print a field group cck;

with module content profile I have created some group fields cck (Interest, Works, etc;)

but not know how can recall this groups inner a php file;

I not want to use panels because isn't a light module (suck resource)

also see that there is advanced profile kit , but seem work only with panel;

is possible if I know the name of a group cck , print all its values?

Comments

Patroclas’s picture

With the contemplate module you can re-create the group with html.

As far as I recall, you need to print the fields in the group and then put them into (for example) a div with some html inside it to provide the group description, css styling etc.

alb’s picture

I want use contemplate only for to find the variable's name;

example I found this
print $node->content['name_of_the_group']['#children']
or
print $node->content['name_of_the_group']['group']['#children']
that should list the field's grup;

but not work;

I insert code inner a node-content_type.tpl.php file

kazah’s picture

Hello! I also need this. Have you solved it?

aquaphenix’s picture

You can print and format CCK field from within a CCK Group using the following code on your node-typeofnode_here.tpl.php files.

To print the title of your CCK field

<?php print $node->content['group_nameofyourgroup']['group']['field_nameofyourfield']['field']['#title'] ;?>

To print the actual CCK field

<?php print content_format('field_nameofyourfield', $field_nameofyourfield[0]); ?>