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

Category image on home page

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 02-19-2014, 11:39 AM
 
arwvisions arwvisions is offline
 

Newbie
  
Join Date: Feb 2014
Location: Eteria
Posts: 5
 

Default Category image on home page

I want the category images on the home page.
i found this using debugging console.

{$c.image_path}

outputs this
.\images\C\soap.jpg

it works, but seems weird. why include the path? and not url?

security issues?
__________________
xcart 4.1.11 - 5
Reply With Quote
  #2  
Old 02-20-2014, 03:02 AM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default Re: Category image on home page

As far as I know using relative paths is a common practice.

Why do you want full URLs?
__________________
Alex Solovev,
Qualiteam

---

User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions
Reply With Quote
  #3  
Old 02-20-2014, 08:08 AM
 
arwvisions arwvisions is offline
 

Newbie
  
Join Date: Feb 2014
Location: Eteria
Posts: 5
 

Default Re: Category image on home page

I was just wondering about the \ instead of / in the path.
__________________
xcart 4.1.11 - 5
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:03 PM.

   

 
X-Cart forums © 2001-2020