![]() |
I've installed Sloth Trader so now how do I...
...put up a toplist on the main page of my site? Can someone tell me the code I should use? Thanks!
|
The toplist syntax itself is simple (you must place a file called yourtoplistname.tpl in the sloth_toplist/ directory). For simplicity, lets call it toplist.tpl (Sloth generates the html page to include from this template)
<li>%TRADELINK1%</li> <li>%TRADELINK2%</li> <li>%TRADELINK3%</li> etc... To include it: php <?php include("sloth_toplist/toplist.html"); ?> ssi <!--#include file="sloth_toplist/toplist.html" --> edit: don't forget to login to your admin and tell it what your toplist name is (you'll see some existing ones called toplist1 and toplist2) but do NOT include the .tpl extension. |
What am I doing wrong? I used the php include to put it on the main page but nothing shows up.
|
All times are GMT -7. The time now is 04:26 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123