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?
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.
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