This forum is for assistance with theme development.

Theming CCK Node problems using node-content.tpl.php

Hey there,

I have finally managed to get my own node template file working (node-artist.tpl.php) for a CCK content type called "Artists".

Now in the CCK node type, there is the title, body an attached image using the image_attach.module, this has been previously uploaded as a seperate image, and 4 extra link fields that I have added to the content type.

The $content field is of course made up of all of these items, which looks ugly so I am trying to theme this. I have tried the below to extract just the body text, but cannot seem to get it to work

Where is the forum layout created ?

hi!
I'm modifying the forum layout and I experience problems with it. I'd like to know where the tables are created. I can't find the TR TD and TH in the forum.module file. These

and
are drivin' me mad :)

I want to separate each container, to add a bottom margin between'em, I can't do it directly in the CSS, it doesn't work.

Do you know where it is ?

Thank you :)

feature profiles on front page

Hey people,

How hard would it be to feature profiles on the front page - either through a template directly or block? I'm thinking of something like this:

http://www.coroflot.com/

q./

Block visibility

I am trying to limit a block's visibility. The block is created by the banner.module and so to control regions I have a number of blocks enabled. The problem is that there is not always content in a block. I want to use the php visibility settings of the block to say "if the block has content then display it, otherwise don't"

Any ideas?

xTemplate question NEED HELP

Ok so I went and got the xTemplate stuff from the downloads section. Here's what I got:
license.txt - tells me nothing about how to install or use.
xtemplate.inc - has some code at the bottom but I have no idea what it's for
xtemplate.engine - has code in it but have no idea what it is for

2 Columns on the Right, main content on the left? Please Help

I'm not sure how best to describe this, and I am a drupal n00b, so I drew what I wanted to do in photoshop:

http://img143.imageshack.us/my.php?image=templateconceptdo6.jpg

Pages

Subscribe with RSS Subscribe to RSS - Theme development