Elements (Custom)

admin's picture

In template.php, custom theme overrides can be added:

function phptemplate_xxxxxx($user, $image) { return _phptemplate_callback('xxxxxx', array('user' => $user, 'image' => $image)); }

A file called xxxxxx.tpl.php can then be created to customise this element.

<div id="something"> <?php print $user ?> <?php print $image; ?> </div>