Early Bird Registration for DrupalCon Atlanta is now open! By registering during our Early Bird Registration window, you’ll save $100. This window ends on 19 January 2025 and will go by quickly, so don’t wait!
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.
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.
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:
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. ;-{
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.
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?