I only want to show the first topic in board news...

Started by Jedd, October 06, 2005, 12:25:13 AM

Previous topic - Next topic

Jedd

I only want to show the first topic of a certian forum on another page. But i cant figure out how to get it to just show the...well i guess i should say latest topic. So what do i do?

Thanks

P.S.
I hope i made my question clear enough.


Jedd


Elissen

the ssi_boardNews function of SSI.php will probaly do fine for that.

// Show the latest news, with a template... by board.
function ssi_boardNews($board = null, $limit = null, $start = null, $length = null, $output_method = 'echo')

SSI FAQ

Jedd

hmm....

I had it like this <?php ssi_boardNews(11); but when i add all that other code, and try and add the '11' to get the info from the right forum, a parse error comes up. What am i doing wrong?

JayBachatero

Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

1MileCrash

#6
you want-

<?php

ssi_boardNews
($board = 11.0, $limit = 1, $start = null, $length = 250, $output_method = 'echo');

?>


i fixed it, though. http://urbanskimboarding.com/Articles.php
The only thing php can't do is tell you how much milk is left in the fridge.



Jedd

heh, thanks man. Now i know the best way to get you to do things...lol.

Advertisement: