Jump to content

Theme specific module


Recommended Posts

Hi everybody, Im pretty new to prestashop, Im reworking the classic theme into something customized to learn how it all works.

I made a super simple module to add some custom cta, only has the following files:

  • apo_customcta.php
  • apo_customcta.tpl
  • config.xml
  • index.php

and as a regular module install it seems to work fine, but now Im trying to implement it as a theme specific module, like described here ( https://devdocs.prestashop.com/1.7/themes/reference/theme-specific-modules/ )

but when I try to install the theme with them custom module I keep getting this msg for which I can't find anything online:

"Cannot install module apo_customcta. The module apo_customcta could not be found on Addons."

can anybody help me get this working or send me to a solution somebody might have found ????

 

thanks in advance

 

----------------------

 

Update ok now it seems to want to install the theme again, altho it just ignores the theme specific module alltogether 😕 even tho the theme.yml and the dependencies folder still contain the same stuff except some minor template changes :s

Edited by v-web
update (see edit history)
Link to comment
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...