This forum is for assistance with theme development.

Excluding page.tpl.php values from views output

Afternoon all

I have an entry in my page.tpl.php which displays the title of the page as an\

tag for a heading, I would like to exclude this specifically from any views I have, is this possible. I realise I can do this on a per content type basis with the below :

if ($type != 'page' && $title): print '<h2'. ($tabs ? ' class="with-tabs"' : '') .'>'. $title .'</h2>'; endif;

I would really appreciate some idea of how I could do a similar thing for either certain views or all views.

Certain content types using node.tpl.php instead of node-whatever.tpl.php

This is an extremely strange problem I've never seen before. Two of my CCK content types "event" and "video" have all of a sudden without any warning started using node.tpl.php instead of node-event.tpl.php and node-video.tpl.php. My other content types are working properly.

Everything was working fine yesterday, then today without any reason whatsoever it just stopped working. I tried messing around with the file permissions, deleting and re-creating, but it hasn't worked.

Has anyone come across a problem like this before? Any suggestions?

IE renders a huge blank space before my view begins.. help..!

I've got another IE rendering situation..
The pages:
http://brazoscountyexpo.com/
http://brazoscountyexpo.com/facilities
are coming up with this huge space before the meat of the pages begins. In Drupal terms, it's when this particular view is to be displayed (so maybe something to do with the .view class?).

Firefox is fine, both IE (IE6) and IE7 are affected.

Giving Garland additional block locations

I love Garland and its color picker. I also really admire newer themes such as LiteJazz, Light Fantastic, and others that provide a bevy of block locations such as three across the top, beneath the header but above the body.

How tough would it be to add such functionality to Garland itself? How non-trivial an undertaking is this? And is this something others besides me would appreciate?

customizing individual sections/blocks/regions/nodes etcc

hi everyone
i am using the zen theme which i have modified to suit my needs
i was wondering, is it possible to customize certain parts of the theme ONLY?

Strange problems in theme

When I use print $content;to show content just as the method in the built-in theme "garland", there will be a blank line in front of every single content records.Just like this:

Pages

Subscribe with RSS Subscribe to RSS - Theme development