This forum is for assistance with theme development.

Garland Theme Problem

Hi everybody,

I'm new to Drupal and I'm trying to make a new website using Drupal 5.1 and its Garland Theme.

The problem is that I defined the primary navigation links, but when I click one of them it does not remain "selected", with the triangle above it in a slightly different color than the other, as I saw it on other websites which use this theme.

How to catch and alter user names in template.php?

Hi all,

I've worked out how to get the html into node.tpl.php to display user points and user badges having installed their appropriate modules:

if (module_exists('user_badges')) { print user_badges_for_uid($uid); }

if(module_exists('userpoints')) { print userpoints_get_current_points($uid); }

Chameleon Theme no longer being supported?

I love the chameleon theme and have a website that has a lot of information entered into drupal 4.7. I want to upgrade my site to drupal 5.1, but the only thing that is holding me back is the theme. Chameleon looks great at first, but it is missing the user and date information at the end of a story/page and comment.

Chameleon does not have a separate "issue" section as do most other themes.

spacer image addes padding to table cell in firefox

I can't figure this out. I have a table with spacer images (transparent gifs) in table cells that causes the cell to have bottom padding. This only happens in firefox and not in IE. I'm still going through all the various style sheets, but does anyone know why this is happening? The strangest part is that it looks fine outside of the drupal theme, but inside, it gets this strange padding.

Include .js sitewide

I have two questions really.
1) I've noticed that jquery.js is not included on all pages. I've written a javascript function to fix apply the filter fix for png images in IE6 that needs to be included on all pages when my theme is being used. Is it best to write it so that it depends on jquery or better just to make it totally separate? If it's the former, how do I include jquery.js on all pages?

E-commerce Module Help Theming

Is there anyway to make to add a thumbnail to an ecommerce product? It seems goofy that there isn't a place for that. Right now I'm using upload_image to show a thumb at the bottom but on the products page there's only text links. Any ideas?

I've posted this once but if anyone could help I would appreciate it.

Pages

Subscribe with RSS Subscribe to RSS - Theme development