Twilli Posted January 21, 2019 Share Posted January 21, 2019 Hello, how can i create a custom / single php page containing the new products like "blocknewproducts". Single page without header, navigation, footer . . . . just the "blocknewproducts". Thanks for help Link to comment Share on other sites More sharing options...
tdsoft Posted January 21, 2019 Share Posted January 21, 2019 you should try to research: create front controller for Prestashop read more: https://devdocs.prestashop.com/1.7/modules/concepts/controllers/front-controllers/ Link to comment Share on other sites More sharing options...
Twilli Posted January 21, 2019 Author Share Posted January 21, 2019 Ok i will try - thanks Link to comment Share on other sites More sharing options...
Twilli Posted January 21, 2019 Author Share Posted January 21, 2019 (edited) We have 1.6 I try this manual: https://presta.site/blog/en/how-to-create-a-new-page-using-module-front-controller/ I create: root/modules/mymodule/controllers/front/test.php code: <?php class MyModuleTestModuleFrontController extends ModuleFrontController { } But there is a 404 error when I try to open the page .... /index.php?fc=module&module=mymodule&controller=test cache/class_index.php was deleted Seo & url >> modul-path: module/{module}{/:controller} Edited January 21, 2019 by Twilli (see edit history) 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