GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   I've installed Sloth Trader so now how do I... (https://gfy.com/showthread.php?t=714264)

dougeetx 03-13-2007 10:38 AM

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!

Lycanthrope 03-13-2007 11:56 AM

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>&#37;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.

dougeetx 03-16-2007 11:16 AM

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