This forum is for assistance with theme development.

garland theme - use of H1, H2 tags ???

Just a question about best practices and document markup. I've always used very basic semantic HTML to markup my documents. I'm just wondering if there is a good reason that the Garland theme uses H1 for the website name and H2 for the page title. I've always used H1 for the Page Title, and not had any heading tag on the website name.

What are your opinions on this? I'll probably end up changing the theme, but I wanted to make sure there not a good reason for leaving it as it is.

Thanks

Hacking Garland: Alternative to php in body tag?

I'm trying to customize the Garland theme so I can switch Eviscerati.org, one of my sites, over to Drupal.

The main problem, at this point, is that the Garland theme uses the body tag to contain a php snippet that (I think) determines how many columns to display on the page.

Here is the snippet:

<body<?php print phptemplate_body_class($sidebar_left, $sidebar_right); > ?>

Unfortunately, my publisher (Keenspot) replaces the body tag with a perl-generated body tag and some extra custom content...

Trouble displaying products the way I like it.

I am very new to Drupal and a novice at php but i am an experienced web designer who wants to create a highly customized web site without having to conform to any restrictions (one of the reasons I chose Drupal in the first place). I am using the eCommerce module(s) and Views (with it's theme wizard) and want to display my products exactly the way I have it designed, more specifically the list of products that I have on the products page.

I have the theme function in the template.php file (created by theme wizard) and I am using "views-list-Products.tpl.php" to create the xhtml structure for each product in the list. The problem is the $body variable also contains the "image" (attached using the image module) and $price (which is one of the variables given). I want to be able to manipulate the body text without the image or price being included. It also seems as though I can't use the image unless I include $body since thats where it's located.

So what do I want to achieve?

- Well I want to be able to manipulate all of the variables independently
- Or at least display the "image" variable without having to display $body to get it

- Should I try to build my own function to try to achieve this?

Can someone help me out with this, I would greatly appreciate it.

The views-list-Products.tpl.php file

How do creat a subdued background photo in pushbutton?

I am using 4.7.5 and the pushbutton theme.

In the main content area, there is a subdued down arrow. I would like to replace that with a different image. How do I do that?

Also, along the top banner area, there is another subdued image that I would like to replace.

Theme Textfield

I wan to theme textfield
I know i hav to create a template.php file

kindly tell me wut other files i need

Pages

Subscribe with RSS Subscribe to RSS - Theme development