News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

How To Add & Automatically update Recent Topics on My Site

Started by rogelpm, June 30, 2009, 01:29:50 PM

Previous topic - Next topic

rogelpm

I am using dreamweaver CS3 in cratng my website, I was stuck on how I will going to put codes in order to update automatically the RECENT POSTS/TOPICS in my website frontpage. Can you teach me the codes?

Arantor

You need to use the SSI.php part.

In the front page, add this at the very top of the code:

<?php include("forum/SSI.php"); ?>


Of course, change that to suit the path from your homepage to your forum.

Then, where you want the recent topics to be, you use either ssi_recentPosts or ssi_recentTopics, depending on which you want. The default behaviour for those is as it is on this page.
Holder of controversial views, all of which my own.


Advertisement: