For assistance with theme development.

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/ in /usr/local/psa/home/vhosts/ 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.

* 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.
"This page is not Valid XHTML 1.0 Strict" - 28 Errors
"This page is not Valid XHTML 1.0 Strict" - 120 Errors

ujuijui ... quite some work to do ...

How to display the number of reads for a node

The new theme shows the number of comments for a node (story) on the home page and also the number of reads. What is the piece of php I inline to display the number of reads?


Subscribe with RSS Subscribe to RSS - Theme development