-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
✨ Adding DependencyBuilder #5
Conversation
In order to correctly build the dependencies variable to instanciate the CDC, add an helper to ease the work of module devs.
682e06f
to
1a5ed51
Compare
42936a1
to
d60710c
Compare
d60710c
to
120891d
Compare
Hi, I remade the zip by including a first version of the cdc in the configuration page of the example module. if you go on config page you should show something like this |
8985ca3
to
d1c4fc1
Compare
Set up new context variable to interact with the CDC. Install or enable the MBO module if needed.
d1c4fc1
to
a6fadc2
Compare
924f679
to
7d5f526
Compare
7d5f526
to
d54a753
Compare
3972faf
to
607d134
Compare
You can find an updated example module version here prestashopexamplemodule.zip The ID have been added to the dependencies file in order to be able to correctly retrieve last available version & module name. |
cf28880
to
f3f71c9
Compare
c9fca43
to
02eae86
Compare
Hi, Could a method like Thanks! |
@prestamodule |
Are there any plans to let module developers customize this dependencies installation page (like Billing allows for customization of some elements of the UI)? Or expose some methods to let them build the routes themselves and take over the entire process? |
@prestamodule So it will be up to each dev to choose. Use the "all in one" solution, or build a custom one. |
461f763
to
567a1ae
Compare
eeb91f4
to
63bdd7b
Compare
9ebd02e
to
4ca20b1
Compare
In order to correctly build the dependencies variable to instantiate the CDC, add an helper to ease the work of module devs.
So, we have to add a
module_dependencies.json
file in the root dir of the module.And then, in the module :
And later, in the tpl
Here you will find a module (compatible from 1.7.0) in order to test/try it :
prestashopexamplemodule.zip
UPDATED 27/11/2023
Go to the config page, and you will see something like this :