This forum is for assistance with theme development.

How to edit .xtmpl and .theme?

When I open those files, from the standard themes that comes with Drupal 4.5.0, in my text editor, I get a bunch of random text. What program do I need to edit these files?

The new Drupal layout

Hello fellow Drupal users,
The new theme for Drupal.org doesn't seem to work all that well for Safari users. I'm not sure why but you can check it out here, at http://dippe.info/media/drupal.gif

Maybe I should yell at Apple but there's a diminutive possibility that something was overlooked when creating this, indeed very nice looking, theme.

Cheers

Alternative to GoLive? (linux)

I'm wondering if anyone has used an alternative to GoLive on the linux platform to see xtemplate structure and edit it. I have bluefish and screem (relativley the same) but they don't display in tabular column format.

Tag list?

Hi guys,
I have read the documentation regarding the xTemplate system and I am having trouble finding a listing of {tags}.

Where can I find a detailed discusson reguarding what tags are out there or how to construct my own?

Thanks!

phptemplate: How do you add variables to the page template?

I want to use the $terms variable (taxonomy terms) in the pagetemplate of phptemplate. This show in the node template in the box_grey theme so I thought just using it would be okay. Well that did not work. so I tried to add the code used in the engine to set the node variables to the page template. this did not work either.

How do you best accomplish adding variables to a template?

TIA

Alternating classes

I'm making a theme with the PHPTemplates engine. I'd like to be able to alternate between two different classes every time a an item appears on a page. For example, with the teasers that appear on the front page:

<div class="node class1">blah blah blah</div>
<div class="node class2">blah blah blah</div>
<div class="node class1">blah blah blah</div>

Is there an easy way to make the class switch for every instance of an item like that?

Pages

Subscribe with RSS Subscribe to RSS - Theme development