This forum is for assistance with theme development.

Getting a page to validate to XHTML 1.0 strict

So looking at the instructions for theming here, I noticed that one bit of advice was "always validate to XHTML 1.0 strict."

Firefox has some tools to check this, so I did. And the page I have, doesn't validate.

However, there doesn't seem to be anything in the actual theme causing it. The error message beigns here:

Date variables

Hi guys,

How can I extract the information of date in Drupal Theme, say I want to put the day or month in its own

tag but all I can find is a $date variable.

BTW my Drupal custom theme is looking smooth, customizing it is actually not THAT hard. Thanks guys for all your help.

banners

hello

how can add a banner to drupal themes. is there a template file that i can manipulate but can't seem to find?

thanks.

ecommerce shopping cart simple question

How can I access the shopping cart through a drupal variable?
Maybe that isn't the correct question but what need exactly is to do
something like:

	print $shopping_cart;

I suppose this should be available to be done the same way its available to
print the content, sidebars, footer and whatever else drupal allows.

If you see the page.tpl.php (for example in the bluemarine theme) you will come across:

Change output of var $content

Hi experts,

sorry - I didn't find the answer for my problem in the forum.

I'm changing the theme for a drupal 4.7 Website, using

Customize Code based on Node's Terms

How would I customize my code in my page.tpl.php in order to have it display a particular template if a page (node) has a particular taxonomy attached to it. IE: if node/43 had the taxonomy "music" how could I make it display a different template?

This is one Idea I batted around, and while it doesn't seem to break the design, it also doesn't work either:

Pages

Subscribe with RSS Subscribe to RSS - Theme development