Add a Function to your Website From Online Manual

Revision as of 19:40, 5 November 2009 by Admin (talk | contribs) (2 revisions: Importing from local.)
Jump to: navigation, search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

To add information to your website, first load up either of the examples below depending on your website page extension:

Locate the function you wish to add to your website page from the list of examples and take the code it lists for the function, our example uses the Recent Topics Function:

: <a href="javascript:void(0);" onclick="return smfSelectText(this);" class="codeoperation"></a>

<?php ssi_recentTopics(); ?>

Above code is for *.php pages, but for for *.shtml the same function equivalent is:

: <a href="javascript:void(0);" onclick="return smfSelectText(this);" class="codeoperation"></a>

<!--#include virtual="./SSI.php?ssi_function=recentTopics" -->

Now add that line of code in an html view of your page where you wish the information to be located. Repeat with other functions you wish to add. Once uploaded to your website you should see the information on your website.



Advertisement: