Author Topic: TGPX and TRADE X  (Read 1734 times)

0 Members and 1 Guest are viewing this topic.

Offline Camilly

  • Newbie
  • *
  • Posts: 2
  • Karma: +10/-0
    • View Profile
TGPX and TRADE X
« on: August 11, 2012, 02:30:51 PM »
Good day I'm having a hard time trying to install in the incoming stat tracking code to my index.html pages for two sites. I am using dreamweaver to insert the code can anyone help I have tried



and

 

Offline Chad

  • Administrator
  • Full Member
  • ***
  • Posts: 215
  • Karma: +27/-0
    • View Profile
TGPX and TRADE X
« Reply #1 on: August 12, 2012, 02:28:42 AM »
Are your pages .shtml or just .html?

For the SSI tags it needs to be .shtml

OR

You can also force your server to parse the .html files for SSI tags by adding:

Code: [Select]
AddHandler server-parsed .html
to your .htaccess file.

Thanks,
Chad

Offline Camilly

  • Newbie
  • *
  • Posts: 2
  • Karma: +10/-0
    • View Profile
TGPX and TRADE X
« Reply #2 on: August 18, 2012, 05:34:09 PM »
Chad,
  The files that I am trying to add the thru dreamweaver are just html, I'm also trying to add the link to tgpx which are php files i believe.

Offline a4evermedia

  • Global Moderator
  • Full Member
  • ***
  • Posts: 122
  • Karma: +25/-0
  • Gender: Male
    • View Profile
    • A4Ever Media
TGPX and TRADE X
« Reply #3 on: August 18, 2012, 07:15:40 PM »
Hi Camilly

This line

Code: [Select]
<!--#include virtual="/tx/in.php"--> 

uses what is called an SSI or SERVER-SIDE-INCLUDE.  In order to use this line on your current page you will have to CHANGE your file extension to '.shtml' rather than just '.html'

This is a very common situation and should not cause a problem for your Dreamweaver web page editing software.

If you DO NOT wish to change the extension of your web page you can add the AddHandler command to your .htaccess file to allow the line to be 'parsed' or 'understood' by your server software, if you are more comfortable with doing that.

Note: This only applies to servers running Apache or other Linux/Unix based software, not on servers running WINDOWS software. In which case you probably wouldnt have an .htaccess file to edit :)

Remember, you can always google the terms I have used here for more information.

Good Luck and please let us know how it goes for you.
« Last Edit: September 11, 2013, 04:39:07 PM by a4evermedia »

Unofficial JMB Support Forums

TGPX and TRADE X
« Reply #3 on: August 18, 2012, 07:15:40 PM »


Tags:
 

Related Topics

  Subject / Started by Replies Last post
2 Replies
1189 Views
Last post September 14, 2013, 11:32:11 PM
by Taebok
4 Replies
1392 Views
Last post November 12, 2013, 11:38:29 PM
by Chad
2 Replies
1190 Views
Last post November 11, 2013, 02:06:57 PM
by Chad
0 Replies
1821 Views
Last post October 10, 2014, 06:50:10 PM
by oman
0 Replies
1318 Views
Last post April 23, 2015, 04:28:13 AM
by Zug