TinyPortal
Development => Support => Topic started by: DistantJ on July 29, 2010, 01:44:31 PM
Ok, a quick one...
What would I do to include an SSI function in a PHP block? Say I wanted to display the latest users or whatever else, obviously things work a little different as TinyPortal is part of the forum etc. I'm guessing it's not exactly the way no normally would include an SSI feature on a .PHP page...
SSI will already be called/included by the time it gets to a block. You can use a function directly.
EG :
ssi_recentTopics(8);
That will then run the SSI function as normal.
pretty good example of ssi_examples.php ..
http://www.jpr62.com/ssihomepage.php
Hello,
I'm using the same function on my forum and it works! But the alignment of the recent topics on the fronpage looks a bit weird. Not like the one on the boardindex(evrything to the left). See attachment.
Where can I change that?
I've been looking in the style sheet and in ssi.php but can;t find anything alike. I'm very bad in coding, so can anybody help please?
Thanks in advance.
Ed.
Excuse me guys,
You can consider my problem solved. :-[
It was in ssi.php I was just looking over it and when I found it it was still looking wrong but the reason for that was that 1 board had an extreme long name while wrapping was off.
I'm pretty retarded sometimes and specially when I'm having flew like today. :idiot2:
Glad you figured it out ;D