View Single Post
  #7  
Old 03-17-2015, 09:28 PM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

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

Default Re: Using Extra Resources in XC5

Hi Yong,

It depends on how your scripts retrieve these files:
1. If the script are a part of your module, I believe you can use something like __DIR__ . '/../../../../../../../classes/XLite/Module/[YOUR_ID]/[MODULE_ID]'
2. If the script is an external service loading the files via an HTTP request, you can put these files into the "[XC5]/skins/en/customer/modules/[YOUR_ID]/[MODULE_ID]" directory as Tony suggested.


How will you reference the files? If there is another script that should retrieve the files via an HTTP request,
__________________
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