m (Bot: Automated text replacement (-(<div class="codeheader">[\s\S]*?<code>[\s\S])*?</?span[\s\S]*?>([\s\S]*?</code>) +$1$2)) |
m (Bot: Automated text replacement (-<div class="codeheader">[\s\S]*?<code>([\s\S])*?</code> +{{Code|1= $1}})) |
||
Line 5: | Line 5: | ||
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: | 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: | ||
{{Code|1= $1}} | |||
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. | 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. |
Revision as of 14:40, 30 March 2011
To add information to your website, first load up either of the examples below depending on your website page extension:
- http://www.simplemachines.org/community/ssi_examples.php for *.php web pages.
- http://www.simplemachines.org/community/ssi_examples.shtml for *.shtml web pages.
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:
$1
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.