This forum is for assistance with theme development.

Is there any conditional tags for Drupal to particular thing on particular page

Hello,
I have finished my drupal theme and want to add some stuffs on homepage only but I dont know how to that. Possible Its possible with conditional tags like wordpress conditional tags . For example If you put is_page(name) on the template file then that particular thing inside this tag will only appear on that particular post.

please tell me how can I add that

Help with cck field

I need some help printing a cck field where I want it on my theme. I think it's probably pretty simple, but I can't figure it out.

I have added a cck field called "sidebar" to page.

In my theme page.tpl.php I've created a table, and I want the body of the page to print in the left column, and sidebar to print in the right column.

Currently I have the simple code print $content; in the left column. As expected, that is printing out both the content of the body field, and of my cck sidebar field.

Header Image

Let's say I have the following site structure:

Link 1
Link 2
- Sub-Link 2-1
- Sub-Link 2-2
Link 3
Link 4
- Sub-Link 4-1
- Sub-Link 4-2
- Sub-Link 4-2-1
- Sub-Link 4-2-2
- Sub-Link 4-3
Link 5

I need to have a different header image which shows at the top of the node for each Link. I also need the header image for each Link to show at the top of each Sub-Link:

Dreamweaver Drupal theme extension survey

Hi Friends,
Thanking All for the supports extended to the project 'Dreamweaver Drupal theme extension' I would like to invite the dupal community to participate a survey pertinent to it.

1 Which version of the Drupal is impotant for you to be supported by DW extension, 5 or 6?

2 If the support for the both versions are important to you, How do you want the extension to be packed, A single extension or Seperate?

Kindly express your views at below blog.

easiest way to style primary_links

when I use print theme('links', $primary_links) to output the primary_links, I get to many code
what I'd like is just a plain simple UL, like:

is there a way to do this

I can hardcode the menu in the template - but that's not what I want
it would be great if I could address the arrays containing all the primary_links data and have them printed using php the way I want (in my template file)

Comments on separate page

How can I display the comments on a post on a separate page? I wanna have a post and show all the comments on this post apart.

Pages

Subscribe with RSS Subscribe to RSS - Theme development