This forum is for assistance with theme development.

Display theme content only if it's the front page?

I've got some content that I want to display only on the front page. Ordinarily I could just have a standard node with "promote to front page", but I want to display this material differently than the standard node display. In effect all that should be displayed is node->body for these couple of nodes. The material doesn't even have to be a node, it could just be embedded php text/verbiage.
 

Font Help

Does anyone know what font is used in the Drupal logo?

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.

Pages

Subscribe with RSS Subscribe to RSS - Theme development