This forum is for assistance with theme development.

Wich variable calls the custom menus ?

Hi !

Usually, I use this code to have some delimiters between my primary links.

What does the print theme("onload_attribute"); mean ?

I was checking out the box_grey template in order to learn about developing my own custom theme . Right away I came across this question.
In the BODY tag... this is inserted... print theme("onload_attribute"); .... can anyone tell me what this does ?

Gdev

Leaf theme wider

Hi

The theme leaf is great but I want to make it a litle bit wider:

Changed everything in style.css
700->870
694-->864
400->635

Now it is wider, but the sides look strange and I have a vertical blue line in the menu.
I tried lot of thing but could not repair it.

anybody a working idea what shall I do?

flatforum question

I'm trying to theme my forum posts and I run into something I need help with.

I'm using drupal 4.7 rc2 with the flatforum.module and its provided template.php and node-forum.tpl.php.

Inside of node-forum.tpl.php the line:

Content after the first node

This must have been asked somewhere, but after searching for about 20 minutes I can't find anything. How can I put an ad after the first node on my homepage? I know there's a loop, but I can't figure out how to set a variable outside node.tpl.php so I can increment the loop.

This is what I'd like to do:
if ($postnum == $showads) {

ad here.

} $postnum++;

It's not working because setting $postnum and $showads in page.tpl.php doesn't allow node.tpl.php to see them.

Pages

Subscribe with RSS Subscribe to RSS - Theme development