View Single Post
  #4  
Old 01-13-2019, 01:35 AM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

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

Default Re: Following the "Create a module" Tutorial (for devs)

Thank you for the code.
I don't know why it isn't working for you, but when I added it to my X-Cart installation, it worked just fine. The module shows up in the list of addons
Screenshot attached.
Maybe you are inserting it into a wrong folder?
The path must exactly match the namespace, so you should be putting this into <X-Cart>/classes/XLite/Module/GreevesH/FirstModule/.
Attached Thumbnails
Click image for larger version

Name:	greeves.png
Views:	208
Size:	45.1 KB
ID:	5281  
__________________
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