Following the "Create a module" Tutorial (for devs)
I'm stuck on step 5 of this guide. My module won't show up when I attempt to "redeploy" the store. In fact, nothing actually happens. Has this happened to anybody else and does anyone know how to resolve this issue?
Thanks in advance |
Re: Following the "Create a module" Tutorial (for devs)
Hello. I have created a number of modules based on that article, so it's safe to say the example is correct there.
We will need to see the actual code to say why it isn't working. Thank you. |
Re: Following the "Create a module" Tutorial (for devs)
Not sure why I didn't hand out the code in the first place :roll:
PHP Code:
|
Re: Following the "Create a module" Tutorial (for devs)
1 Attachment(s)
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/. |
All times are GMT -8. The time now is 07:51 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.