stayontherun85 Posted June 9, 2014 Share Posted June 9, 2014 Hello guys, I'm new to Prestashop and I am developing a shop for a client. My problem is he wants a site structure with an included shop like (Home | Site 1 | Site 2 | Onlineshop | Site 3). So I need a CMS page as front-page and CMS pages for Site 1, Site 2, Site 3,... My problem right now is I would like to use the default prestashop front page under the menu "Onlineshop" and have a different CMS front page. With "CMS Content on Homepage" module and hiding modules of the sidebar I got my front page, but now I need to have a seperate "start page" for my shop with blocks shown up. Is there a solution to achieve this? Cheers! Link to comment Share on other sites More sharing options...
stayontherun85 Posted June 10, 2014 Author Share Posted June 10, 2014 I finally found a solution. Maybe this helps others. For index-page I use the show cms on homepage module. Under postitions I made an exception (hide) for all modules which show up on index-page so there are no shop modules on the front-page. Then I created a custom page "onlineshop" like on this post: http://www.prestashop.com/forums/topic/52650-how-to-add-a-custom-page/page-3 That modules are shown, which can only be shown on the index-page I added {$HOOK_HOME} in onlineshop.php and added $this->context->smarty->assign('HOOK_HOME', Hook::exec('displayHome')); in OnlineshopController.php. If you have questions, feel free to ask. 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