This forum is for assistance with theme development.

phpTemplate: $node object in comment.tpl.php ??

Background: I'd like to theme my forums comments differently than blog comments. To do this, I'll need to know the parent node 'type' within comment.tpl.php

The documentation touches on overriding functions to add variables, so I tried adding a template.php file containing the following:

Where do I include myfunctions.php to make it available sitewide during node content creation?

I would like to make an external function library or class available site wide during content creation (Input format: PHP code). So that when I'm creating content I can use class member functions.

I've tried to include myfunctions.php at the top of the page.tpl.php but the functions (and variables) are not available during node creation. Could someone tell me where I should put this include?

Thanks

Lock text size

I run a corporate website, I have clients that alter the text size in their browsers. Then they call me saying the text is so small they can't read anything.

Is there a way in css to lock the text size?

I'm really starting to like CSS

Greetings,
I'm using Marvin, but I didn't like the the Forum looked. I wanted to look like peole are use to seeing. Very like the Forum here. So, I browsed through the other themes and found that the Pinpoint theme had a closer to what i was looking for Forum.

So, not knowing any better; I went any copied the extra definations from the pinpoint CSS for the forum and did a paste into the bottom of my style.css. Did a little bit of color changes and presto-mesto. It worked. :-)))

Simple and Silly - Controlling Tables

Creating a template in PHPTemplate and am trying to use CSS to control the tables that are generated by Watchdog.

But...I can't.

Not sure why.

I am probably simple-minded. :-p

I thought I was using the appropriate CSS tags, but nothing seems to work.

Anyone have similar issue?

Cleaner style for pushbutton style

I've been setting up several Drupal websites for a couple of days and have decided not to mess with the code and layouts until I get all the functionality I can from stantard modules and tools available (or I'd have to be messing with the many installations I have).

I looked around and tested all the themes available and finally settled for the pushbutton, but this theme uses large fonts and elements and doesn't look as sleek as other themes around with smaller fonts and better spacing and hierarchical layout.

Pages

Subscribe with RSS Subscribe to RSS - Theme development