This forum is for assistance with theme development.

Goofy Forum Posting in IE on Mac?

I'm kind of a newbie with Drupal 4.5.2 and I've been playing with a bunch of modules and themes. Right now, I'm wanting to use Goofy, but am experiencing problems though they don't seem to be exactly like those noted in forum posts.

Making $node->type or similar available in page.tpl.php

Hi all. What I am wanting to do is make the display of the node title conditional on the node type in a phptemplate theme. The only stumbling block is that information about the node type is not available within page.tpl.php. The node object does not exist within _phptemplate_callback() either, so I am unable to use _phptemplate_variables() to add the type information to vars[]. Is there another way to get access to the node type?

I suppose I could create a new module with it's own template but that seems like overkill.

Block borders.

OK, I've made myself a new theme and I'm running in to an unpredictable problem. I've tried troubleshooting it buy modifying html, styles, showing/hiding various blocks, and moving around the blocks. Check out my blocks at:

http://www.electroniclife.org/

You'll see that the "Who's online" block title is missing it's top border. I just checked this in IE and it looks fine, so it appears to only be a problem in firefox. ;-{

Send email via form

maybe somebody can give me example of form and file that sending email in drupal (using windows)

thanks

How does $content decide when to display the $node->body or $node->teaser?

I am using phptemplate and I can't seem to access $node->teaser and $node->body separately with any reliability -- only $content, which seems to represent either the teaser or the body depending on some other criteria of which I have seem to have no control.

I am trying to make /taxonomy/term/1 list just the title and teaser of each node, but I want /taxonomy/term/2 to show the title and full body of each node.

Theming invoice in ecommerce module

Whatever I do I can't seem to get the invoice to theme using PHPTemplate and latest stable codebase; I just get a blank screen if I try (completely empty document returned). I know PHPTemplate is working fine because my other overrides, specified in template.tpl.php, are wokring fine. Is there another way of theming an invoice?

Anybody help please?

Pages

Subscribe with RSS Subscribe to RSS - Theme development