News:

Wondering if this will always be free?  See why free is better.

Main Menu

ssi_news function - how to return a news topic?

Started by zeroeh, May 30, 2008, 09:58:36 PM

Previous topic - Next topic

zeroeh

Hello,

I am currently adding a headline area on my website, I was wondering if there was a way to only call headlines(subject lines) from the news function or only the news board(ie board number "0") with the recent topic function.

Thanks.

General_Naga

This sounds like something I was trying to do a while ago. I ended up using the attached code, what it does is call the titles/subjects of all the topics in a specific board. It also links the titles/subjects back to their respective topics.

This any help?

<?php 
$array 
ssi_boardNews(2nullnullnull'array');
foreach (
$array as $news)
{
    echo 
'
<table border="0" width="100%" align="center" class="ssi_table">
<tr>
 <td><div align="center"><b><a href="'
$news['href'], '">'$news['subject'], '</a></b></div></td>
 </tr>
</table>
<br />
'
;
}
?>


Rumbaar

"An important reward for a job well done is a personal sense of worthwhile achievement."

[ Themes ]

Advertisement: