Shellanza Posted June 24, 2016 Share Posted June 24, 2016 Hi there! I finally created my very first module following the guidelines here: http://doc.prestashop.com/display/PS16/Displaying+content+on+the+front+office Everything great but the default layout I get on the "display" page (the front controller) is with left column and right column too. I would like to have a full width. Any help? Thanks! 1 Link to comment Share on other sites More sharing options...
Rolige Posted June 25, 2016 Share Posted June 25, 2016 These preferences can be managed from the theme at: Back Office > Preferences > Themes > Advanced settings Can be managed also from the code in the module, but of course is not the best way. Here some screenshot to help... Link to comment Share on other sites More sharing options...
Shellanza Posted June 27, 2016 Author Share Posted June 27, 2016 Hey COTOKO, thank I had a look. Unfortunately I can't see my page. The page I created is a display.php called from a controller. How can I do it if I can't see in the backend? Cheers. Link to comment Share on other sites More sharing options...
Rolige Posted June 27, 2016 Share Posted June 27, 2016 Ok, in the file of the front controller you can achieve that in the method initContent() as this example public function initContent() { // Set this options as "true" to display whatever you need $this->display_column_left = false; $this->display_column_right = false; parent::initContent(); // The rest of the code continues here } 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