This forum is for assistance with theme development.

how to show the Author`s picture inside "Author Information" block?

I could configure "Author Information" block to show public profile fileds,

but, How to show Author's picture?

thanks,

What function builds the UL list for the tabs?

Hi! I'm building a new theme from scratch using the build in phptemplate engine, xhtml1.0 and css. I was wondering what function builds the list for the tabs, as seen when you are in the admin section for themes (among other areas):

Change user picture based on taxonomy? (PHPTemplate)

The mood module I came across didn't seem to be what I was looking for, so I'm trying something else instead.

I've added a taxonomy vocabulary to my site ("Mood"), set it to only apply to blog posts, populated it with terms and marked it as "required". It's the only taxonomy that applies to blog posts, and only a small, closed group of users has access rights to blog (otherwise what I'm trying to do would probably be impractical).

What I want to do is have the user picture displayed on the post change according to the term selected from "Mood". The images to be used are in the themes/%themename% directory, with filenames of the form %username%-%moodname%.jpg -- only the picture with the blog entry needs to change, not other places where the user's picture appears, such as next to comments. It would also be nice if a non-existent target image caused the default one to be used instead.

I'm trying to modify my theme's node-blog.tpl.php to do this with Drupal 4.7, using code provided by nevets from another post as a basis, but apparently I just don't have enough of a handle on PHP or Drupal's internals to do it, even after combing through the theme developer's handbook and PHP manual. I know I need to extract the node author's name and the name of the term, then print them out together with the base url in a div block, but nothing I've tried has worked so far.

drupal.org themes

Where download the themes of offices website?

can't use <img> for my new submitted theme project page : contented7

i have follow the instruction here:
http://drupal.org/node/11637

after submit my work to CVS, i hope to update the project page with the screenshot. although i use the >img<, but the image don't show out...
http://drupal.org/project/contented7

hope someone can help me about this ;-)

Best approach to create a new theme

Hopefully I'm not repeating a forum topic. I'm planing to create a new theme for drupal 4.7 using php template. Is the best approach to start from scratch or should I use the default theme and develop around it?

Thanks

Pages

Subscribe with RSS Subscribe to RSS - Theme development