I am fairly new to Drupal . While I am fairly able to get results with php sytax , like many it seems I am struggling with drupal . Anyone who can help with this?
I have members on my site . I used the content profile module in favour of the std profile module .
I have all my user field created as a content type profile. All is well and good it seems to be working and registration is working also .
I am using the zeropoint theme and have created the user-profile.tpl.php file and that is overiding correctly .
~~ Here is the rub ~~
In order to make my profile pages look pretty , of course I want to change the layout .
How do I access the content profile fields . If I write a print_r($user) or a print_r($profile ) I seem to get usable arrays of info that include an array name "content profile"
Very simple ask is how do I write each field into that template file ..$user_profile presents all the fields but how do I access each field independantly.
can someone give me some syntax examples . Should be sooo simple
eg. I have a field called "real_name" and another called "subtrade".
how would I write ~~ $real_name does $subtrade for a living ( easy in php ... three day task in drupal )