How to get group_renderd from content_profile in user-profile.tpl.php?

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
rolkos's picture

Hi,

It might be not directly related with content profile module. I have a site where I'm using content profile module for user profiles, but I also use userpoints module and few other modules that display some information on user profile page. I created user-profile.tpl.php template and now I want to display content from CCK groups that are in content profile.

Usually in for ex. in node.tpl.php it's enught to

print $my_group_name_rendered;

But it does not work with page template user-profile.tpl.php

Is there any way to display _rendered content from cck group in a page template?

My another question is how to place information about orders, userpoints, history that are attached to user profile page in some order, DIV and CSS classes? now it's really raw, just H3 tag for header and DL for content (please take a look at attached file).

Thanks,
Paweł

AttachmentSize
user-profile.png11.01 KB

Theme development

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

Hot content this week