| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Following the "Create a module" Tutorial (for devs) | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
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
__________________
HGreeves |
|||||||
#2
|
|||||||||
|
|||||||||
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.
__________________
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 |
|||||||||
#3
|
|||||||
|
|||||||
Re: Following the "Create a module" Tutorial (for devs)
Not sure why I didn't hand out the code in the first place
PHP Code:
__________________
HGreeves |
|||||||
#4
|
|||||||||
|
|||||||||
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/.
__________________
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 |
|||||||||
|
|||
X-Cart forums © 2001-2020
|