This forum is for assistance with theme development.

minor problem with 4.1.0 and empty links:

I have warning when links are empty, using the bluemarine theme on a just-installed drupal 4.1.0:

warning: Bad arguments to implode() in /var/www/drupal/includes/theme.inc on line 35.

checking $links for "" avoid this nasty warning

font issues

i created my theme using mostly CSS, where the body of the box is a TD with class=boxbody. in that i set a font size, but for certain modules (i.e. forum, members, poll) when it generates the conetent it ignores those settings and the font is some huge thing. anyone know what the deal is?

p.s. i'm using IE in WinXP Pro. on my friends Linux box with Gaeleon it looks fine...

--
horix
horix@wornpath.net

what does this error mean?

Hey, just wondering what I'm doing wrong with my theme to get the following errors..:

when i try to log in i get these two:

warning: Cannot add header information - headers already sent by (output started at /usr/local/psa/home/vhosts/wornpath.net/httpdocs/themes/bugbear/bugbear.theme:197) in /usr/local/psa/home/vhosts/wornpath.net/httpdocs/modules/user.module on line 578.

boxes vs nodes, & where are they called?

I'm ripping apart and redoing the smarty theme. When I'm done, I will release my efforts so that anyone out there who wants to use smarty but doesn't want to mess with the guts doesn't have to. But I'd like a little help first.

Currently (at least in the smarty theme), boxes are used for the "sidebar" items such as login, user controls, archives calendar, etc, and also for 'main page' content such as on the user info page and also when viewing full nodes. I would like to change this so that sidebar boxes are a style unto themselves and main content boxes are customizable separate from sidebar boxes. I need to find where the code they share in common is, and where they are called from.

Help Creating Theme

Hi, all,

I am new to Drupal, and must say that I'm very impressed with the design and the obvious amount of brainpower that went into this.

I'm trying to create a theme, but there isn't enough documentation on how to do this.

The docs point me to the existing themes to see how they were written. While I understand the PHP just fine, the context in which it is running is completely missing for me, since I know nothing about drupal.

Examples:
* When does the node() function get called?
* I can see in the resulting browser code (using the Marvin) theme that 2 columns have been defined. It's not at all obvious to me how that is controlled from within the .theme file...

Where to report bugs in themes?

The bug reporting system won't let me submit a bug, even though I was logged in and even though the instructions say you don't need to be logged in.

The drupal-devel mailling list is closed, and I'm not going to subscribe to a mailling list just to report a bug.

The theme in question is "Jeroen", linked on the download page, which is not even close to working and has obviously not even been tested; I fixed two bugs before it would even show up in the admin page selector:

1. The declaration was "class Theme extends BaseTheme",
it needs to be "class Theme_jeroen...".

2. It was completely missing the "system" function.

Pages

Subscribe with RSS Subscribe to RSS - Theme development