![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Join Date: Nov 2005
Posts: 2,804
|
Anyone here familiar with smarty templates?
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"); ?> |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Join Date: Nov 2005
Posts: 2,804
|
bump for me
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 | |
Do Fun Shit.
Industry Role:
Join Date: Dec 2004
Location: OC
Posts: 13,393
|
Quote:
Code:
{literal} <?php include 'top50.html' ?> {/literal} {literal} <?php virtual ("/cgi-bin/atx/in.cgi"); ?> {/literal}
__________________
![]() “I have the simplest tastes. I am always satisfied with the best.” -Oscar Wilde |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 | |
Confirmed User
Join Date: Nov 2005
Posts: 2,804
|
Quote:
![]() I also tried {php} include('path/to/file'); {/php} The header i found a temp solution, I just added the code into some php that was already in the header template right at the end. lol I suppose if all else, I'll iframe the top list.. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 | |
Too lazy to set a custom title
Industry Role:
Join Date: Jul 2001
Location: Currently Incognito
Posts: 13,827
|
Quote:
{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.
__________________
![]() ![]() ![]() It's all disambiguation ![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 | |
Confirmed User
Join Date: Nov 2005
Posts: 2,804
|
Quote:
the place where i add the code just shows up blank like i didnt add it at all (when i view source) |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
Confirmed User
Join Date: Nov 2005
Posts: 2,804
|
may sound odd, but it worked like this
{include file='../../top50.html'} ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |