Nav Rakeback News

From PAS Documentation
Jump to: navigation, search

Contents

Description

The nav rakeback news file is designed for sites that have news items appear in the sidebar. News items are created and maintained through the News Management System

How it works

The "rakeback_news" loop calls and displays the titles and dates for all news items applicable to the current site and displays it in a table designed to fit on your sidebar.

To include this feature, simply edit the Site Template file in your Content Management System and add the following line.

@@include:"Nav Rakeback News"@@


Example

	<div id="leftside">
		@@navside@@
		@@include:"Nav Rakeback Offers"@@
		@@include:"Nav Bonus Offers"@@
                @@include:"Nav Rakeback News"@@
	</div>

Code Sample

<div id="pas_nav_offers">
<table cellspacing="0" class="pas_stripe">
<thead>
<tr>
<th>Rakeback News</th>
</tr>
</thead>
<tbody>
@@LOOPSTART ID="rakeback_news"@@
<tr class="offer" link="@@TLD@@/user/rakeback/news.php">
<td>
<a href="@@TLD@@/user/rakeback/news.php">@@news_subject@@</a><br />
@@date@@
</td>
</tr>
@@LOOPEND ID="rakeback_news"@@
</tbody>
</table>
</div>

See Also

News Management System

Quick Rakeback News

Rakeback News

Personal tools