How to create a toplist?

Our support will answer all your general questions here.

Moderator: Rock

Post Reply
Pornzie
Posts: 3
Joined: Tue Apr 20, 2010 7:58 pm

How to create a toplist?

Post by Pornzie »

so I created a template and pasted it like so, then manually added the 10 sites I am already trading with. Look at the bottom of my site and please explain what can i do to fix this and make the site names appear.

http://www.tubemomma.com/
texpert
Site Admin
Posts: 719
Joined: Sat Mar 14, 2009 5:54 pm

Re: How to create a toplist?

Post by texpert »

I guess your question is "How to create a toplist?". I can see that you have included a template into your page instead of output of the toplist.

You have to navigate to the "toplist / toplist" menu and just like with any other trade script, you have to create a template file (this would be "input" file) e.g. "toplist.tmp" and add in the template code (and html design) for the toplist. As the "output" file you would want to set something like "toplist.html". So basically
your toplist template file (input) is parsed by the toplist module and toplist tags get replaced by the real values and the file is output as "toplist.html".

Before you include your "toplist.html" into your site, you should check it in the browser to make sure everything is alright. E.g. if you've output your "toplist.html" directly into the "web" dir, you should be able to access toplist here: http://www.yoursite.com/toplist.html

Once this displays correctly, you can include it into your web page.

regards,
Jim
Pornzie
Posts: 3
Joined: Tue Apr 20, 2010 7:58 pm

Re: How to create a toplist?

Post by Pornzie »

Yes, I should have asked "How to create a toplist" thanks for the correction.

I am so spining around and dancing for joy now because your directions are go great!

You are a sweetheart. I followed step by step and it worked. After finally using toplist/toplist section and saving, I inserted the php include code on my page for toplist.html which you said was the ouput file.

Thanks again.

I have one question about the links not working. I noticed the id of my trades are really high numbers, like 26 and 34, but right now I only have 10 trades. None of the links work. I think it is because I named all of the id's in the template 1 - 20 and I am only using the first 10 of them.

Should I change the id #'s of my trades and where can I find the menu ?
Or should I use the id #'s that are assigned and just insert them into my template and reupload?

Thanks
texpert
Site Admin
Posts: 719
Joined: Sat Mar 14, 2009 5:54 pm

Re: How to create a toplist?

Post by texpert »

The issue was that you've installed your TE into cgi-bin/ directory instead of cgi-bin/te/ directory. And you are (were) linking to cgi-bin/te/o.cgi ...

regards,
Jim
Pornzie
Posts: 3
Joined: Tue Apr 20, 2010 7:58 pm

Re: How to create a toplist?

Post by Pornzie »

when i checked the te directory it was empty :lol:

so i moved all the Trade Expert files. (cgi bin is new so all files in it are Trade Expert Files)

So funny how the links start working.
Post Reply