[support] Modifying "submitted by"

Damien Cirotteau dcirotteau at rue89.com
Wed Feb 6 12:34:51 UTC 2008


Hi,

let say that you have a theme called : verynice
you need to do a verynice_username function. This function goes in the
template.php of your theme.
Check the original one here :
 http://api.drupal.org/api/function/theme_username/5

copy the content of theme_username in verynice_username
and modify it to suit your needs.
regards
d

On Feb 6, 2008 1:19 PM, David Njuki <njukey at gmail.com> wrote:
> I want to to be able to display the authors firstname and last name for the
> various content types ( pages, story, biblio ..etc) instead of the default
> username as it is displayed
> ( e.g submitted by admin on ....) how do i go about doing so.
>
> --
> David Njuki.
> --
> [ Drupal support list | http://lists.drupal.org/ ]
>



-- 
Damien Cirotteau
www.rue89.com
01 55 25 75 00


More information about the support mailing list