MackStores.Com Posted August 20, 2018 Share Posted August 20, 2018 Would it be difficult to have Uninstall when inside the configure module ?? Link to comment Share on other sites More sharing options...
Knowband Plugins Posted August 20, 2018 Share Posted August 20, 2018 No. Create your own control & use the following code the uninstall the module. $module_name = 'MODULE_NAME'; $module = Module::getInstanceByName($module_name); if (Module::isInstalled($module)) { $module->uninstall(); } I hope it will help. Link to comment Share on other sites More sharing options...
MackStores.Com Posted August 20, 2018 Author Share Posted August 20, 2018 30 minutes ago, Knowband Plugins said: No. Create your own control & use the following code the uninstall the module. $module_name = 'MODULE_NAME'; $module = Module::getInstanceByName($module_name); if (Module::isInstalled($module)) { $module->uninstall(); } I hope it will help. Thanks i know this but i was asking got prestashop as a whole for not so code friendly people. The uninstall should on the top bar of the configure section by default in every module. Link to comment Share on other sites More sharing options...
Guest Posted August 25, 2018 Share Posted August 25, 2018 That sounds like a terrible idea! Users would accidentally be uninstalling their modules from a mobile device all the time! Link to comment Share on other sites More sharing options...
MackStores.Com Posted August 26, 2018 Author Share Posted August 26, 2018 15 hours ago, PrestaRalph said: That sounds like a terrible idea! Users would accidentally be uninstalling their modules from a mobile device all the time! i am talking about the back end top bar and besides if this was the issue then users using android and ios will be uninstall accidentally all the time. with ios clicking the wrong x button and in andrioid clinking the wrong uninstall button. besides i was talking about back end access to the app and then on the top bar uninstall with confirmation. its easier more efficient when you are setting up new shop and trying out a lot of apps. Link to comment Share on other sites More sharing options...
Guest Posted August 26, 2018 Share Posted August 26, 2018 Read my post again. It would clog the top bar and mobile users will accidentally click the button because there is not enough spacing. Besides, adding single use buttons to a menu that is meant for every day use is a terrible idea as well. I think the current design is fine as it is. Just my $.02 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