This forum is for assistance with theme development.

Experience with PhpTal

I had recently installed phptal from cvs. I am encountering problems in adding custom function. I refered to the success story here.

i tried adding the function to a new template.php (same instruction is mentioned here too in the theme directory (tal_grey), and then calling the function from page.tal as mentioned. I get an error

Call to undefined function: test_menu() in /tmp/tpl_0_7_0_30fdeeba25be02f39337800a87c412c5.php on line 131

Need help adding a separation bar to Kubrick

Hi forum,

I'm using the Kubrick theme on my site and would like to integrate a simple separation bar (a jpg image) that would appear at the bottom of each new post on the site automatically. Is anyone familiar enough with Kubrick to know where to implement this? And what would the code be to do it (in noob language please).

Thank you very much indeed!

FrancisQ

Add another column to Manji?

I know that Manji is a single column theme, in looking at the code, I'm not able to pinpoint where I might be able to open it up for having the classic left-right columns.
Anyone have any ideas?

Lisa

Calling Drupal Functions in phptemplate.engine's template.php file

So I think I am way confused about the order in which phptemplate works. In my node.tpl.php file I want to have a div that contains the number of comments posted on a particular node. I want this to be visible on the full view as well as the view that gives me a bunch of entries and the article stubs.

So I thought I would try something like "comment_num_all($nid)" But I can't even get the $nid variable to pass through into the node.tpl.php file.

Good stylesheet for Pdfview?

Hi Everyone,
I was wondering if anyone had a good stylesheet they could recommend to be used with PDFView? The css that comes with this module is very basic (by the authors own comments), and sadly does not translate line breaks or even font tags into the document.

I think its a great mod but would somehow like to merge the site stylesheet with it so the content looks cleaner and consistant.

Thanks in advance,

Geoffrey

IE Fieldset problems

Using the default drupal.css fieldset style I seem to be having some problem in IE with a fixed width layout. In the new page/story/topic page where there are normally 3 fieldsets side by side, in IE on a fixed width layout the 3 fields clear each other. To see what I mean have a look at http://filterone.ath.cx/druprob.gif

I've noticed this on a few other fixed width drupal themes too, any easy solutions?

Pages

Subscribe with RSS Subscribe to RSS - Theme development