Is there a way to add into GetResources or Ditto that every 4 or 5 entries, it puts in advertisements? In other words:
Entry 1
Entry 2
Entry 3
Entry 4
Ad 1 | Ad 2
Entry 5
Etc.
?? Thanks!
"Great spirits have always encountered violent opposition from mediocre minds." -Albert Einstein
Very cool. And the ones in between don’t need to be set, right? It will use the default tpl for the first 4, and then change for the 5th, and then the default for the next 4, etc?
Also, is there anything similar for Ditto?
Thanks!
"Great spirits have always encountered violent opposition from mediocre minds." -Albert Einstein
Quote from: lucas at Jun 10, 2011, 04:39 PM
Have a look at using tpl_{n} - see the getResources docs.
In this case, your tpl_{5} chunk will include two list items, the first holding your advertisement. Cool huh?
Note that the curly braces are not part of the Tpl chunk name, so it should be tpl_5.
All a great help, thanks to everyone who contributed.
"Great spirits have always encountered violent opposition from mediocre minds." -Albert Einstein