This forum is for assistance with theme development.

Display a DIV only if theree are some comments for a node ?

Hi !

Sorry, maybe these questions are answered somewhere in the forum but I don't find it.

How could you I do to...

- Display a div at the bottom of a node, only if there are some commments for this node ?

- Display another div at the bottom of this node, only if the number of commments is >1 ?

- Display the number of comments for a node ?

Thank you.

How do you set the delimiter for primary links in Drupal 5?

In 4.x, it was really easy...

print theme('links', $primary_links, "
"); ...or say... print theme('links', $primary_links, " ** ");

But with 5.x, the primary link code for the theme looks something like this:

print theme('links', $primary_links, array('class' =>'links', 'id' => 'navlist'))

And this doesn't print any separator at all. I need the double pipes (||) to appear for my look, but don't know how to do this with 5.x.

Ideas?

primary menu

I try to edit blubreeze theme and my goal is move the primary menu top main content.
I tryet to add new block but primarymenu wont look same as it was on header.
any tips?

Very easy theme/css question....

Hi have some trouble, as there's been a long time since i developed web pages. But please, someone tell me exactly where to go to change the main text color on my site, from black to red. My homepage is: http://www.formye.no

Node Themeing Question

I'm working on my node.tpl.php and was trying to find a way to determine if a node was the top in the list. If I were doing this in blocks I would use the $seqid or $block_seqid variables but I don't see anything like that for nodes. Is there?

Theme Question

Can themes that are for a lower version of Drupal 5.x be used in the new drupal? or will it cause conflicts?

Pages

Subscribe with RSS Subscribe to RSS - Theme development