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)
-   -   (off x-cart topic) smarty and ebay (https://forum.x-cart.com/showthread.php?t=35863)

SystemSkins 12-03-2007 12:08 AM

(off x-cart topic) smarty and ebay
 
I'm trying to build a simple eBay auction layout and would like to know if this would work.

I'm basically going to use the knowledge I learned from building my X-cart site and build an ebay master template so I can change 100's of auctions on the fly. I figure I'd start with a home.tpl and inside it will call various templates. My question is this, since I'll be copying the html into ebay's site, I will then have to reference all the template files, well... everything, to my web server correct?

Like this?
Code:

{include file="http://www.systemskins.com/ebay/meta.tpl"}
<link rel="stylesheet" type="text/css" href="http://www.systemskins.com/ebay/ebay.css" />


SystemSkins 12-03-2007 12:30 AM

Re: (off x-cart topic) smarty and ebay
 
hrmmm, this isn't working. What do I have to do to tell the web to act upon smarty language?

When I view the above I'm actually getting {include file="http://www.systemskins.com/ebay/meta.tpl"} showing up on the page and its not acting upon the {include file=""}

view my test layout here: www.systemskins.com/ebay/newlayout.html

SystemSkins 12-09-2007 01:22 PM

Re: (off x-cart topic) smarty and ebay
 
Anyone know why the browser is reading my smarty as text and not following the code?

Do I have to insert something to tell the browser to read smarty code?


All times are GMT -8. The time now is 05:27 PM.

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