News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

ssi_BoardNews

Started by Alex4108, July 27, 2010, 11:26:13 PM

Previous topic - Next topic

Alex4108

Hi,

I had this trouble earlier this week, and got little help with it.  I've been trying to customize the ssi_boardnews output so it can work into the template I've found.  I found these lines...

foreach ($return as $news)
{
echo ' <div class="post">
<h1 class="Title">
', $news['icon'], '
<a href="', $news['href'], '">', $news['subject'], '</a>
</h1>
<span class="date">', $news['time'], ' </span><span class="posted"> ', $txt['by'], ' ', $news['poster']['link'], '</span> <div style="clear: both;">&nbsp;</div>
<div class="entry">', $news['body'], '</div>
<p class="links">', $news['link'], $news['locked'] ? '' : ' | ' . $news['comment_link'], '</p>
</div>';
}


I changed the HTML tags as needed so they can fit into my template.  However, when it called into the PHP page, it displayed the standard template, and even knocked the nav bar on the side UNDER the news. 

http://www.sjclan.net is the website I'm doing this on. 

If you want a screenshot, I have attached one

Alex4108


CapadY

Did you empty your forum cache ?
Please, don't PM me for support unless invited.
If you don't understand this, you will be blacklisted.

Advertisement: