Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

HTML catalog with absolute path 2 all

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 10-28-2006, 11:02 AM
 
ecommerce ecommerce is offline
 

eXpert
  
Join Date: Jul 2006
Posts: 267
 

Default 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.
__________________
X-Cart 4.0.18 DBest
Reply With Quote
  #2  
Old 10-30-2006, 01:57 PM
 
ecommerce ecommerce is offline
 

eXpert
  
Join Date: Jul 2006
Posts: 267
 

Default Re: HTML catalog with absolute path 2 all

bumping...anybody?
__________________
X-Cart 4.0.18 DBest
Reply With Quote
  #3  
Old 10-30-2006, 03:57 PM
  Jon's Avatar 
Jon Jon is offline
 

X-Guru
  
Join Date: Oct 2002
Location: Vancouver, Canada
Posts: 4,200
 

Default 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.
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 01:21 PM.

   

 
X-Cart forums © 2001-2020