Author Topic: include toplist  (Read 18691 times)

0 Members and 1 Guest are viewing this topic.

Offline sophocles

  • Newbie
  • *
  • Posts: 18
    • View Profile
include toplist
« on: January 14, 2009, 03:37:36 AM »
I have install the toplist suc6 on my front <!--#include virtual="tp/toplist1.html" -->
but if i want to try the toplist include  like this page http://www.mysite.com/pivot/entry.php the toplist are not showing

How i can include the toplist in al my pages??

Sorry for my bad english

Offline Ric

  • Newbie
  • *
  • Posts: 43
    • View Profile
Re: include toplist
« Reply #1 on: January 14, 2009, 05:35:18 AM »
<!--#include virtual="tp/toplist1.html" -->

That is for an SSI include... since it looks like you are using a PHP page.

Quote
http://www.mysite.com/pivot/entry.php

you need to have it like this

<?php include('tp/toplist1.html'); ?>



Offline sophocles

  • Newbie
  • *
  • Posts: 18
    • View Profile
Re: include toplist
« Reply #2 on: January 14, 2009, 05:52:36 AM »
<!--#include virtual="tp/toplist1.html" -->

That is for an SSI include... since it looks like you are using a PHP page.

Quote
http://www.mysite.com/pivot/entry.php

you need to have it like this

<?php include('tp/toplist1.html'); ?>




Thanks for your response
I have try <?php include('tp/toplist1.html');  and the same problem whit this include <!--#include virtual="tp/toplist1.html" -->
First i have a problem with couting in.php and solved  with include ("/home/admin/domains/mysite.com/public_html/tp/ssi_in.php"); on the first line

While this working? include ("/home/admin/domains/mysite.com/public_html/tp/toplist1.html"); ??

Offline ip0li

  • miSearkXD
  • Administrator
  • Hero Member
  • *****
  • Posts: 1952
    • View Profile
    • Premier Сasual Dating Real-life Girls
Re: include toplist
« Reply #3 on: January 14, 2009, 05:58:35 AM »
it should, try it mate...

Offline sophocles

  • Newbie
  • *
  • Posts: 18
    • View Profile
Re: include toplist
« Reply #4 on: January 14, 2009, 08:26:10 AM »
it should, try it mate...
Now way same problem the toplist are not showing
« Last Edit: January 14, 2009, 08:51:47 AM by sophocles »

Offline Ric

  • Newbie
  • *
  • Posts: 43
    • View Profile
Re: include toplist
« Reply #5 on: January 14, 2009, 01:57:30 PM »
Do you have trades to show on the Toplist?

If yes I'm confused by your directory structure:

Is toplist1.html being created in the TP directory?
If so what HTML does it contain?

So your TP is in:
/home/admin/domains/mysite.com/public_html/tp/

But from your sample URL (http://www.mysite.com/pivot/entry.php)
I'm guessing your front page is in
/home/admin/domains/mysite.com/public_html/pivot/

I'd have TP installed in my web root directory.


Offline sophocles

  • Newbie
  • *
  • Posts: 18
    • View Profile
Re: include toplist
« Reply #6 on: January 15, 2009, 02:25:26 PM »
Yeah now its works the code whas [[include:tp/toplist.html]] for pivot script ;D

Offline ip0li

  • miSearkXD
  • Administrator
  • Hero Member
  • *****
  • Posts: 1952
    • View Profile
    • Premier Сasual Dating Real-life Girls
Re: include toplist
« Reply #7 on: January 15, 2009, 04:18:51 PM »
perfect :)