TinyPortal
Development => Support => Topic started by: ScopeXL on August 13, 2009, 03:38:31 AM
Hello,
Just wondering where the Recent Topics block is stored, I would like the edit the template of it to fit my sites theme. Is it in a TP folder PHP block code snippet? Because I am unable to find it. Thanks in advance.
There are some custom resent topic in the Block code snippets board (http://www.tinyportal.net/index.php/board,46.0.html) you may fine useful
I did see some and they are good, but my main goal is to bring the timestamp down a line, taking here for example:
Original:
TP Reviews module by keith021773 new [Today at 22:33]
Incompatibilidad con skin... by negi new [Today at 22:09]
[Block] Top Posters with ... by vas new [Today at 22:05]
Looking for:
TP Reviews module by keith021773
[Today at 22:33]
Incompatibilidad con skin... by negi
[Today at 22:09]
[Block] Top Posters with ... by vas
[Today at 22:05]
Its located in the TPBlocks.template.php file in your theme directory. should be around line 148 or search for "function TPortal_recentbox()"
find
echo ' ['.$w['time'].']
</li>
replace with
echo ' <br />['.$w['time'].']
</li><br />
Awesome, exactly what I needed. Thanks!
Thanks cavedeamon, I am on my laptop, and dont have the files on it to find that edit
Mark as Solved then