This forum is for assistance with theme development.

Banner after first post only

Hi,

I'm trying to modify my PHPTemplate Theme (box_grey edit) so as to display Adsense ads only after the first post.

However, the basic trick with the counter that resets itself after the first post, which works on my wordpress blog template, doesn't seem to work.

I thought that node.tpl was generated in a loop for each post. But my counter actually doesn't increment for each post, it remains 0, its probably because of the way PHPTemplate works.

Do you know any algorithm that can achieve is with a PHPTemplate engine? Can we do that with flexiblock?

More themes..

it's a long weekend (queen's birthday), i'm stuck at home with a winter cold, and it's raining.

so, i'm making yet more GPL-ed drupal themes.

since i can't get cvs access, i thought i'd just announce them here.

Opaque Green
http://coffee.geek.nz/drupal_theme_opaque_green.html

Earth Wind and Fire
http://coffee.geek.nz/drupal_theme_earth_wind_and_fire.html

bunch of themes i made fromoswd

here's a bunch of themes's i've made quickly from the GPLed designs on OSWD.org
i'd welcome comments+feedback+patches.

andreas 05
http://coffee.geek.nz/andreas_05.html

Andreas 06
http://coffee.geek.nz/2006/04/14/andreas_06.html

Andreas 07
http://coffee.geek.nz/2006/04/14/drupal_theme_andreas_07.html

menu & url

Please help me with my trouble:

I dont't know why i can realize this thing (look at the atteched picture below) in Drupal.

http://img257.imageshack.us/img257/9136/examplefordrupalorg6ug.jpg

How to add "last comment" to $links?

I want to show time of last comment for every node.
Phptemplate have similar information in $links.
I tried override function phptemplate_links(), but I cant get $node->nid of current node (in listing of nodes).
This is my function which I want to use. But want to have information about comment in comment segment (middle), not just append after content of $links.

Theme Based Upon FriendsElectric messes up in safari? Any mac users willing to help?

Hi,
I've very nearly finished my theme based upon friends electric while I was testing it I tested it in safari and the links are all messed up. I've no idea what've done wrong this is my first theme. Any help apreciated. You can see the site here.
Ben,
Benofsky Park.com

Pages

Subscribe with RSS Subscribe to RSS - Theme development