Quote:
Originally Posted by Scroto
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.