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)
-   -   HTML catalog with absolute path 2 all (https://forum.x-cart.com/showthread.php?t=26191)

ecommerce 10-28-2006 11:02 AM

HTML catalog with absolute path 2 all
 
Hi guys,

When I generate the html catalog, it works fine within the xcart directory.

But what I want is to generate the source code and be able to paste it
anywhere and have it display correctly.

So I need the page generated by the catalog feature to shoot everything out
(stylesheet, images, links, etc) in absolute path format.

That way, i can just copy all the code, and paste in any page/website outside of xcart directory.


I know I can generate HTML links through the product links generator, but this seems limited.

ecommerce 10-30-2006 01:57 PM

Re: HTML catalog with absolute path 2 all
 
bumping...anybody?

Jon 10-30-2006 03:57 PM

Re: HTML catalog with absolute path 2 all
 
Try putting this in skin1/customer/home.tpl before </head>:

Code:

<BASE href="{if $smarty.server.HTTPS eq "on"}{$https_location}{else}{$http_location}{/if}/">

Then regenerate your catalog.


All times are GMT -8. The time now is 02:11 PM.

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