For assistance with theme development.

How to alter xtemplate to place a border around main page stories

I'm 2 days new to Drupal, and love it already. I've been hacking away at xtemplate today to get the exact feel I'm looking for. I want to have a nice border around each "Story" published to the main page, just like the border in the UnConeD theme. Seeing that xTemplate does not use tables, I'm a beyond my understanding of how these themes work. Is what I desire still possible in a CSS driven template?

thank you.

Uploading themes

Does a user need shell access to develop and upload themes? Or can they grab them, edit them locally, and transfer them into place with a file manager or FTP/SCP tool?

Multiple templates required

We require to use two templates at the same time. In detail:

We want to post some nodes inside a web page using template #1 (let's call it that). However, we require another template to a news main site (let's call it which requires to operate under a template #2. Both instances involve unauthenticated users.

New theme, how do I submit? (

Ive been playing with a theme, all css based. For me its easier than Xtemplate theme. 3 columns no tables etc.. How/Should I submit it?
Its running on my site Have a look and let me know what you guys think.


Inflexible block generation functions?


I have given a spin at creating my first template. It really seems quite simple and I have used my favourite templating engine, namely patTemplate. After some effort, the results show up quite nicely. However, I have found that functions such as theme_blocks("all", $this); are quite inflexible because they print their content instead of returning it and letting the theme developer decide what to do.

Now I am forced to split up my templates in many unrelated segments like:

footer() {
  theme_blocks("all", $this);

Where I could be trivially doing:

footer() {
  $t = theme_blocks("all", $this);

I have checked all the obvious routes (FAQ, etc.) and I recall seeing some discussion but my knowledge of past implementation is nil. Looking at the calls under 'theme_blocks', the code itself seems pretty unremarkable, hidden in there is a single offending 'print' that does all the damage.

I suppose there might be some good reasons for taking this approach, but I think that -for example- using an optional flag parameter in the block printing routines would provide a great deal of flexibility at minimum cost. Splitting up templates might be a natural for me but my graphic designers will be surely pained. Is there anything I have overlooked?

Where are commercially released themes for Drupal? Theme screenshots?

I am just evaluating Drupal for our purposes and a newbee at this Forum. I have two questions to Drupal community members:

1) Where can I find all the commercially available themes for Drupal 4.3.0 version? I am willing to pay for the right theme $30-$80.

I searched the web over for Drupal themes and could not find much.


Subscribe with RSS Subscribe to RSS - Theme development