TinyPortal
Development => Support => Topic started by: louhi on October 02, 2008, 08:13:40 AM
Hello!
I use SMF 1.1.6 and TP 0.983. On my front page i display 5 messages from the "news" board.
Is there a way to put a block of code right after 1st news message? I'll try to draw:
[title]
[1st news]
[my HTML code (ads)]
[2nd news]
[3nd news]
etc
Thank you!
No, there's no option for that in TP. Sorry.
Found a way to do this.
In TPortal.template.php search string
$count++;
and add after it:
if($count==2) echo 'Here is my mighty HTML code';