This forum is for assistance with theme development.

How do I get the theme path with PHPTemplate?

Inside page.tpl.php, I would like to refer to images stored as part of my template. Therefore, I would like to use something like this:

$path_to_image = $path_to_theme . '/img/imagename.gif'; // $path_to_theme should be something like 'themes/mythemename'

How do I get the theme path without hardcoding?

Thanks a lot,
Dennis

newbie question - need third links section

I'm ambitiously trying to develop a custom theme, but I need three different links sections for my site navigation. Is there a good way to create and manage a third section without having to hard code it in my template?

Thanks for any help!

TSH

Get block to display content from the node page its on?

All my programmers are gone for the weekend. Can you help a brother out?

I have a new CCK node type, with two fields, which we'll call A and B.

On the individual node view page, how do I get A to appear in the center and B to appear in a block on the right?

I tried breaking down the B content fields into a block in php, but the block isn't recocgnizing the node next to it, so it prints nothing.

How do I get the block to pull the node ID of the page its on?

Empty $content on taxonomy pages with custom PHPTemplate

Howdy.

I've been playing around with the PHPTemplate on Drupal 4.6.6, making my own custom node layouts and enjoying myself immensely. I'm stuck at a point, however. My custom theme seems to break the Taxonomy page.

When taxonomy/term/[tid] is loaded on my site, there is no content. It only displays the term name and then the XML link.

boxcleanslate Theme

Anyone knows plz where i can download the boxcleanslate theme ? i have searched everywhere but to no avail ,
http://drupalgarden.com/boxcleanslate

thx in advance

Menu block from taxonomy terms

Hi. I search piece of code, which can done subj. Because i didn't find other way for this, i wrote simple block for my site.

Pages

Subscribe with RSS Subscribe to RSS - Theme development