Hi all! I would like to theme some of my nodes based on the user who published them. For example, node published by Fred -> template-fred; node published by Marta -> template-marta. Is there a way to do this in drupal 5.x? Thank you very much!
I'm trying to implement the PHP snippet mentioned on http://drupal.org/node/139766. I've tried to input this into my template.php file in many different ways, and none of them have seemed to work. Am I supposed to rename the function to "my_theme_name_variables" or leave the function named "phptemplate_variables".
I'm fairly new to Drupal and have a question about theming in Drupal.
In my template i would like to have a header which rotates every week;
So for example this week my header would be top32.jpg.
Where in Drupal should i solve this problem? Should i make a module which gets the header?
Or should i make a template.php function which i call in my template like: