Jump to content

installing a theme with my own module in it

Recommended Posts

Hi! :)

I cloned latest prestashop from git, installed it and now I try to install a theme I created that contains a module that I created.

the theme is called "wind-deflectors" and the module is called "tuxinmodcartype".

when I try to enable the theme I get the following:


(1/1) Exception

You are not allowed to enable this module.

in ModuleManager.php (line 385)
at ModuleManager->enable('tuxinmodcartype')in ThemeManager.php (line 291)
at ThemeManager->doEnableModules(array('ps_linklist', 'ps_customersignin', 'ps_contactinfo', 'ps_shoppingcart', 'ps_languageselector', 'ps_imageslider', 'ps_featuredproducts', 'ps_customtext', 'ps_customeraccountlinks', 'ps_categorytree', 'ps_facetedsearch', 'ps_searchbar', 'ps_sharebuttons', 'blockreassurance', 'ps_banner', 'tuxinmodcartype'))in ThemeManager.php (line 176)
at ThemeManager->enable('wind-deflectors')in AdminThemesController.php (line 306)
at AdminThemesControllerCore->postProcess()in Controller.php (line 194)
at ControllerCore->run()in Dispatcher.php (line 428)
at DispatcherCore->dispatch()in index.php (line 103)


any ideas?

Share this post

Link to post
Share on other sites

it appears I understood the documentation wrong. I thought I can place regular modules inside the theme's0 directory in order to make them belong that theme. once I moved my module back to "modules" directory everything got to work again

Share this post

Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More