This forum is for assistance with theme development.

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.

Amazing tipic.com frontpage

I'm trying to establish my drupal site.
The thing I need is to layout my front page similar to http://www.tipic.com front page.
For example:

-------------------------
|                       |
-------------------------
|         node1         |
-------------------------
|         |             | 
|         |    node3    | 
|  node2  |             |
|         |-------------|
|         |    node4    |
|         |-------------|
|         | node5| node6|
-------------------------

And each node need to have picture (I planning to use flexinode for this)


I spend to much time fighting with CSS but this don’t work due lack of CSS2 support in browsers.


So I think I must use old good tables, but how it can be done?
When I tried CSS I just add 'id="{nodeNumber}"' to my xtmpl file of XTemplate theme to make node3 differs from node4 e.t.c. then I use xtemplate css for positioning. But as I say above this works buggy, very different in different browsers so only way to make this real works is to use tables.

  • 1. How can I do this with tables and xTemplate?
  • 2. Is flexinode useful for this or there other way?



Would be very glad to see comment from tipic.com developers.


Thanks, Alexandr.

I need some help with xtemplate xtmpl

I have been trying to adjust the xtemplate.xtmpl in order to put the title and the Submission details in the same block and I have realized that the node headers on the stories promoted to the front page are differnt from when they are viewed by themselves.

A Fix for Goofy Theme Comments

After downloading Goofy this evening, I found that I couldn't add Comments to Nodes. Searching through the Drupal Forums, I found that several individuals had posted regarding the same issue. I am going to provide my fix here with the caveat that you do this at your own risk. It works great for me. If anyone knows of any implications that I may not be aware of, please post a reply and let me know. That said, here's the fix:

Pages

Subscribe with RSS Subscribe to RSS - Theme development