View Single Post
Old 12-03-2008, 01:05 PM  
TheDoc
Too lazy to set a custom title
 
TheDoc's Avatar
 
Industry Role:
Join Date: Jul 2001
Location: Currently Incognito
Posts: 13,827
Quote:
Originally Posted by Scroto View Post
Just curious if anyone might be able to assist. Been googling my ass off and no real luck so far lol

Basically what I'm trying to do is add the atx trade script codes. One in the header and one in footer. Nothing works, it's just blank.. doesn't print anything.

tried all these..
{include file='myfile.html'}

{php}my code..{/php}

{fileinc file="path/to/file"}

the atx codes:
Code:
for the footer
<?php

include 'top50.html';

?>

 
for the header
<?php virtual ("/cgi-bin/atx/in.cgi"); ?>
I think if you use include file, then the file has to be in the smarty/templates directory. It doesn't take the full path because it pulls from the smarty dir.
{include file="somefile.tpl"}

{include_php file='full/path/to/cgi.file'}

I don't know if include_php will work, but I can include html, tpl, and php without issue doing it this way. Maybe it will work with the atx path and file.
__________________
~TheDoc - ICQ7765825
It's all disambiguation
TheDoc is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote