This forum is for assistance with theme development.

xtemplate blocks disappear

I'm trying to modify the pushbutton xtemplate for a 3-column site. I'm using a three-column table in the .xtml file to do this.

I want blocks to be displayed in both the left and right columns. If I include the following code for blocks in the left table column:

BEGIN: blocks

{blocks}

END: blocks

AND this in the right column:

BEGIN: blocks

{content}

END: blocks

they appear fine in the left, but nothing appears in the right.

Open discussion on Drupal's themeing capabilities and templating engines.

[Editor's note: In the 8 years since this was written, all but a few of the links have rotted. To preserve the original sense of what is/isn't meant to be linked, these dead links have been changed to "example.com" rather than completely removed.]

I am in the process of designing a new approach to the themeing system currently employed by Drupal. But first I feel I might need to explain a bit about the approach I am leaning towards. If you are interested in Drupal themeing, I would greatly appreciate if you read the entire post, as I would like as much input about what I am planning, as to better try to help Drupal designers. This is a rather in depth post, but contains some insights into the new system I am currently developing.

I feel that most of what we consider a 'Drupal theme' at this stage, is too complex, and too rigid a framework for most web designers attempting to work with our platform. I propose we rethink the theme system as it currently stands to be a more generic templating system. Specifically , most of cruft in themes can be attributed to completely separate configuration settings and capabilities for each. This leaves us with a set of themes which are incompatible and different from each other, and if a designer wants a feature only another theme supports .. he is left with the choice of porting the feature to his current theme (not that easy for non programmers), or rebuilding his work on the new theme. The designer might even be faced with judgment calls regarding which set of features he would rather have.

XTemplate syntax

Anyone have any recommendations on good resources for XTemplate syntax? In particular I'd like to know about control statements for the xtmpl files. TIA,

Mac

theming different node types in 4.4.0

hi.

i have seen some posts about theming different node types but while some of the explanations refer to the 4.3.x theme system, others that DO deal with 4.4.x don't seem to explain it in enough detail for me to get it to work.

can someone post a way to have various nodes display different attributes? also, how does flexinode work with this? i would like to have different content types created with the flexinode module be themable in different ways. is this possible?

thanks. erik.

XTemplate - Padding issue with table rows

I redid the xtemplate.xtmpl using an HTML design I prefered. I placed the table containing blocks, nodes, etc inside a table row in my page. Everything works great except one minor issue: every row is spaced apart by a couple pixels. I've gone through the css file alter padding where I found it appropiate but no luck. Any ideas?

Here is the site

Font-size elemtn missing in xtemplate

Hi,

I am working on a customized theme based on XTemplate, and I noticed that it looks like the 'font-size' argument is not defined for the text of articles in the xtemplate.css file of the 'pushbutton' subdirectory. The result is that the corresponding text area displays a font size disproportionate when compared to the rest of the page. I thought the theme maintainer would like to know to possibly add it for a future version.

Pages

Subscribe with RSS Subscribe to RSS - Theme development