Dear developpers,
thanks for your amazing work. I've been struggling for some time now trying to customize the layout of the profile vithout using views. content_profile-display-view.tpl.php only contains does a "print $content" to print the profile content and I would like to have direct access to the profile fields (actual goal: print them in a table way). I know I can modify content-field.tpl.php but I fear I will add trouble somewhere else.
any clue?
thanks guys
Comments
Comment #1
nancydruHave a look at http://drupal.org/node/266817
Comment #2
bonobo commentedYou can also set the displays differently for the teaser view and the full node view -- then, you can choose to display the teaser on the profile page. Between this, and what NancyDru suggested above, you should be set.
If you want to print them as a table, though, Views does seem to be the easiest solution.
Comment #3
clapiotte commentedThanks! I will test your solutions!
Merry Christmas,
Laurent
Comment #4
clapiotte commentedThanks for your suggestion Nancy, I tried it and I have the same problem as described in http://drupal.org/node/350725 : the node-profile.tpl.php will be ignored by drupal. Any idea?
Thanks again.
Laurent
Comment #5
nancydruhttp://api.drupal.org/api/function/hook_user/6 op=view