Jump to content

How to have custom pages directly shipped with theme installation


Recommended Posts

Hello,

I would like to have custom pages directly incorporated in my theme (i.e when the user install the theme, he will have access to these pages).  To do so, any kind of method inspired by the official methods to create a custom page on prestashop can be used , i.e, module front controller, front controller override or CMS page. But all the code has to be included in the theme folder.

Does anyone has a solution for this ?

I already tried, to make a module with its front controller into the themes\mytheme\module folder, but when I install the theme, the corresponding page (declared inside themes\mytheme\module\modulefortheme\modulefortheme.php) is not showing up (neither the module is installed, but I guess themes\mytheme\module can only be used to override already existing installed modules)

Thank you

Aymeric

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...