TinyPortal
Development => Block Codes => Topic started by: fussilet on February 19, 2009, 10:25:22 PM
open TPBlocks.template.php
find :
echo '<b><a href="'.$scripturl.'?page='.$listing['shortname'].'">'.$listing['subject'].'</a></b> ' , $context['TPortal']['blocklisting_author']=='1' ? $txt[525].' '.$listing['poster'] : '' , '<br />';
replace with:
echo '<a href="'.$scripturl.'?page='.$listing['shortname'].'" class="smalltext"><img src="'.$settings['images_url'].'/arrow.gif" alt="" border="0" style="margin:0 2px 0 0;" />'.$listing['subject'].'</a> ' , $context['TPortal']['blocklisting_author']=='1' ? $txt[525].' '.$listing['poster'] : '' , '<br />';
and put arrow.gif to in /Themes/yourtheme/images
Demo picture and arrow.gif are attached.
regards...
That looks pretty nice :)
Although I have yet to make any articles, I will use this for when I do lol ;)
Cheers :)
For TP v0.9.8 search in your TPortalBlocks.template for
echo '<b><a href="'.$scripturl.'?page='.$listing['id'].'">'.$listing['subject'].'</a></b> '.$txt[525].' '.$listing['poster'].'<br />';
and change to
echo '<a href="'.$scripturl.'?page='.$listing['id'].'" class="smalltext"><img src="'.$settings['images_url'].'/arrow.gif" alt="" border="0" style="margin:0 2px 0 0;" />'.$listing['subject'].'</a> '.$txt[525].' '.$listing['poster'].'<br />';
I forgot tp 098 ;)
thanks