Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
i'm trying to customize my theme to display just the date on entries, and not include the time. it looks like i'll have to customize the format_date function in the common.inc file, but i'm not sure exactly how to do it. has anyone done this before?
Hi. I'm using phptemplate for my theme. I see that phptemplate shows node titles only if you're visiting a list of nodes (not a page node).
I would like to know how can I extend this so if I'm in the front page, it doesn't display node titles (I tried to use $is_front in node.tpl.php, but doesn't work there). And how can I set Drupal so some sidebar blocks will be shown if I'm at cover only, and viceversa.
At present, I am setting up a Drupal site and seeking in depth into the code and info.
There are at least two different approachs to manage themes. On the one hand a template-based approach, on the other hand a php-based one.
I suspect the Drupal trend is to manage themes by PHP functions, is it correct this idea? For instance, URL linking of pages is not supported by xtemplate (I think so).
What is the Drupal trend on basing themes, if any?