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

Upload img

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #11  
Old 06-07-2009, 02:17 PM
  gb2world's Avatar 
gb2world gb2world is offline
 

X-Wizard
  
Join Date: May 2006
Location: Austin, TX
Posts: 1,970
 

Default Re: Upload img

If you want to put smarty tags in your static pages - then they need to be parsed and compiled - so you would need to check the box.

It should not affect the rest of your store. The difference will be that it will take some added amount of time & resources to compile your static pages for the smarty. The added time is likely not significant.

If you prefer not to have that done - you can use the absolute link to the image in your static page, and avoid using smarty
__________________
X-CART (4.1.9,12/4.2.2-3/4.3.1-2/4.4.1-5)-Gold
(CDSEO, Altered-Cart On Sale, BCSE Preorder Backorder, QuickOrder, X-Payments, BCSE DPM Module)
Reply With Quote
  #12  
Old 06-07-2009, 02:36 PM
 
swifty1 swifty1 is offline
 

eXpert
  
Join Date: Aug 2008
Location: UK
Posts: 327
 

Default Re: Upload img

Thanks for the solution gb2world, i had re-aplied the absolute link to the static page, the reason why i tried smarty is the help guide http://forum.x-cart.com/showthread.php?t=21529 which states a security issue so i thought i would give it a try.
I will try out your sugestion, thanks again gb2world....
__________________
4.1.11 gold
x-special offers
CDSEO Pro
Reply With Quote
  #13  
Old 06-07-2009, 02:50 PM
  gb2world's Avatar 
gb2world gb2world is offline
 

X-Wizard
  
Join Date: May 2006
Location: Austin, TX
Posts: 1,970
 

Default Re: Upload img

It is not really a security issue - but the problem is you may get security warnings on some browsers if you use absolute paths to the images - which will scare off customers.

So - if you used an "http://" in the absolute link to the image - and if your cart is set up so that the static page can be accessed with an "https://" - you will get a security warning. I think if you set up the absolute link with "/skin1/images/people1.jpg" on your static pages, you'll probably be okay.
__________________
X-CART (4.1.9,12/4.2.2-3/4.3.1-2/4.4.1-5)-Gold
(CDSEO, Altered-Cart On Sale, BCSE Preorder Backorder, QuickOrder, X-Payments, BCSE DPM Module)
Reply With Quote

The following user thanks gb2world for this useful post:
swifty1 (06-13-2009)
  #14  
Old 06-07-2009, 02:51 PM
 
swifty1 swifty1 is offline
 

eXpert
  
Join Date: Aug 2008
Location: UK
Posts: 327
 

Default Re: Upload img

Thanks gb2world, it worked.
__________________
4.1.11 gold
x-special offers
CDSEO Pro
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 05:26 PM.

   

 
X-Cart forums © 2001-2020