This forum is for assistance with theme development.

Displaying First and Last Name instead of Username

Hello everyone,

I am a drupal, php, newbie working in a summer internship and my boss is having me make some changes to our site.

I am trying to get an internal company website to display a users real name instead of the username. Essentially my boss wants it to always say "Welcome! first_name last_name" at the top of the page.

So far I've edited the page.tpl.php file to look like this.

print $site_html . '' . ' Welcome! ' . $user->name . '

' ;

that puts a "Welcome! user_name" right where I want it.

Drop lists menu

Hi,
I am new to drupal and I would like to have a drop lists menu on my drupal site. Something like Stu Nichols' drop lists menu here http://www.cssplay.co.uk/menus/drop_lists.html, only I have managed to make two levels to it (I already have written xhtml and css files and the thing works). What is the easiest way to implement it for a drupal theme?

Drupal Version

Hi

I want to know the list of drupal version. Because i have to upgrade my drupal version. Now my version is 6.2. Which version is feasible for me to upgrade now?

Thanks in advance,
Revathy.

Howto display the date a node was last edited?

Hi,

so far my nodes display the dates they were first published. Since my site has a more static character were nodes are edited frequently, it makes more sense to display the date a node was last edited. I don't seen a variable that suggests it carries that content or am I overlooking something?

dropdown menu from primary and secondary links

i had set for my primary to be the source of my secondary links. but i couldn't get the children to be displayed/printed out on my site.

i'd tried and switched to the acquia marina theme, and it works. i'd tried looking anyway at all of their theme files but i just couldn't get how it does that.

anyone here willing to point this to me? really appreciate any help. thanks.

My Theme will not change

I have followed all the steps on how to install a theme. But for some reason every time I try to switch my theme it doesn't work. Did I not make a file or folder writable or something??

Pages

Subscribe with RSS Subscribe to RSS - Theme development