TinyPortal

Development => Support => Topic started by: IchBin on March 15, 2005, 07:17:27 PM

Title: Recent Topics ?
Post by: IchBin on March 15, 2005, 07:17:27 PM
I was wondering if someone could show me how to make it so that when the recent topics block loads that the "titles" will be in bold text. This is so it's easier to see the topics seperated from the dates. Thanks!
Title: Re: Recent Topics ?
Post by: IchBin on March 15, 2005, 07:20:13 PM
Well, I just found it!

Here's the code:

Code: [Select]
Find this - echo '<br />'.$w['short_subject'].'</a>

Replace with - echo '<br /><strong>'.$w['short_subject'].'</strong></a>
Title: Re: Recent Topics ?
Post by: Bjørn on March 16, 2005, 01:03:04 AM
Yep. Thats the one. If you "create a new theme" when Tinyportal is installed, you will get a new theme to play with - thats already "patched" to work with TP. ;)

If you then copy the TPortalBlocks.template.php and/or TPortal.template.php over to this new theme's folder , you can change how the blocks and/or articles are output. Just like you modify the Display.template.php file to change how posts are output.