X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   inserting outside txt file to static page (https://forum.x-cart.com/showthread.php?t=37725)

boomobile 02-20-2008 03:44 PM

inserting outside txt file to static page
 
I've searched for how to write the tag, but can't find it so here goes...
I'm trying to insert file (url) on a static page, but whatever I do , there is nothing displayed. Here's what I've tried:
This is the file I'm trying to include (and it is correct). http://weather.noaa.gov/cgi-bin/fmtbltn.pl?file=forecasts/marine/coastal/pz/pzz250.txt

{php}{include file="";}{/php}

{include file="";}

{php}{include url="";}{/php}

{css}{include-file="";}{/css}

{html}{include file="";}{/html}

The previous person wrote {php} inclosures, so I just assume that's how it should be. Also I did have this done correctly last week, but it would expand my page wider than I want. I tried to contain the text within a specified table width, but then it wouldn't display at all either. Can any one help me on this?

PhilJ 02-20-2008 04:04 PM

Re: inserting outside txt file to static page
 
1 Attachment(s)
Easiest way would be to use this code in your static page (uses an iframe - see attached - wouldn't allow me to paste it).

boomobile 02-21-2008 09:33 AM

Re: inserting outside txt file to static page
 
Thankyou PhilJ. I did try to place an Iframe tag, but must've had a typo, because now it works like a charm.


All times are GMT -8. The time now is 07:23 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.