This forum is for assistance with theme development.

How to display date without time?

hi,

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?

thanks,
courtney

Detect front page

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.

Thanks a lot!

Red white and blue theme?

Does anyone have a red white and blue theme or would they be willing to make one?

Theme trends

Dear friends,
I have just registered in Drupal.

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?

Regards

Replacing the header link with logo.

Hi im new to this and this is my site
http://www.hateblind.com/amblind/
yeah its lookin shite.
I just wanna replace that link amblind with some logo. Please help.
I tried
#header{
background: url(images/logo.gif) no-repeat 1em 3em;
}
this but it does not work.

A new thread to troll for 'designer' input

The use of themes is a hot issue at Drupal-- much more so that at any other CMS.

As one of the aformentioned designers, it seems to me that this is a crucial issue that will be determine the degree to which non-programmers use Drupal.

So this thread is attempts to get designers to sound off about what they are looking for, what frustration they have encountered, etc. Other threads seem to devolve into discussion that are difficult to follow since they discuss issues that those not privy to development don't really understand.

Adrian's discussion is very interesting, but it seems to me that the notion of a templating system that he touts errs on the side of being too 'automatic' (Aidrian-- excuse me if I misunderstand your post). I think what's needed is a way of simplifying the implementation of the strings that Drupal renders. As a non-coder, I would like to have a complete set of Drupal strings (ie. {submitted}, {node}, etc, that can simply be plugged into a css layout. So if you want a search box at the bottom of the page, you just create a 'div' that situates it there. The problem with existing templates is that they are too tied to a conception of how the site should be (search in the 'header', etc.) Someone wrote in another thread that xtemplate uses the !comments to parse the template. When I read this, my jaw dropped. It's using comments to parse the layout?. This is extremely confusing and counterintuitive.

Pages

Subscribe with RSS Subscribe to RSS - Theme development