This illustrative example shows how easy it is to override theme functions using the User_profile pages as an example.
Before
This is how the out-of-the-box user profile looks like, with extra profile fields, such as City, Country, Postcode, Position etc. added in. (please note that i couldn't fit the whole page into the one screenshot..there is an extra "background/more info." field that doesn't show in the BEFORE screen shot.
click to view the BEFORE screenshot in a new window
After
This is how the exact same user profile looks after overriding the theme and applying a simple user_profile.tpl.php
file in my theme directory.
click to view the AFTER screenshot in a new window
How I did it
To override just the layout of the User Profile page..I created a template.php file with this in it:
<?php
/**
* Catch the theme_profile_profile function, and redirect through the template api
*/
function phptemplate_user_profile($account, $fields = array()) {
// Pass to phptemplate, including translating the parameters to an associative array. The element names are the names that the variables
// will be assigned within your template.