Modifying "submitted by"
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.
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@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
Hi, I could use some help :) -- I have two vocabularies and I'd like to make a nice x-column list of the items in the vocabularies, something like: item 1 item 4 item 7 item 2 item 5 item 8 item 3 item 6 item 9 How could I go about doing this? Thank you, Allen
Thanks for the input Damien, it has helped me understand how to modify the output of "submitted by" details I got what i was looking for in this thread http://drupal.org/node/47308 Regards -- David Njuki.
Hi All, I've got a question about creating a content type. I have one field that is a url where a person can enter a link. Right now it displays the link on the submitted page (the result) but it's not clickable. How can I make it clickable? Thanks, Allen
Allen Stern ha scritto:
Hi All,
I've got a question about creating a content type. I have one field that is a url where a person can enter a link. Right now it displays the link on the submitted page (the result) but it's not clickable. How can I make it clickable?
Use CCK link module: http://drupal.org/project/link M.
Also, something like the Authorship module might do what you want. http://drupal.org/project/authorship David Njuki 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.
participants (5)
-
Allen Stern -
Brian Choc -
Damien Cirotteau -
David Njuki -
michel