xxMAGRAOxx Posted January 26, 2016 Share Posted January 26, 2016 I want to install(or download in that case) the module cron job when the user install my module. I know if i mimic the functionality of the AdminModuleController i'll get, but if have an native way to do that will be better. Anybody have an idea? Link to comment Share on other sites More sharing options...
El Patron Posted January 26, 2016 Share Posted January 26, 2016 (edited) here is idea to check if supporting feature (module) installed and enabled, this information could be relayed back to shop manger via your module configuration. if (!Module::isInstalled($this->name) || !Module::isEnabled($this->name)) issue message in 'other' module configuration to ensured module installed and enabled else all good! also it's possible to have (used to anyway) to have more than zip file, i.e. two modules in one, I have not re-tested this for a number of years. Edited January 26, 2016 by El Patron (see edit history) Link to comment Share on other sites More sharing options...
El Patron Posted January 26, 2016 Share Posted January 26, 2016 in some of my work that supported cron activation, I do 'not' use cron module, rather instructions on link to my modules cron process...now that I think of it..that was a rocking solution...lol Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now