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.
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.
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.