tamara_gl Posted April 7, 2013 Share Posted April 7, 2013 Hello, I want to create a new page in prestashop. Exactly a new type page. This type of page will display a text and a list of specific products with specific feature. I have seen in "SEO and URL" page types exist and can create new pages from another page. I have also seen that in the database tables are related to these pages: ps_page ps_pagenotfound ps_page_type ps_page_viewed Someone has already created a new page? Can explain me that what files I have to create and what things I have to change in the database? Thanks! Link to comment Share on other sites More sharing options...
NemoPS Posted April 8, 2013 Share Posted April 8, 2013 Here is a short tut on it: On my site:http://nemops.com/creating-new-pages-in-prestashop/ On Arvixe's site: http://blog.arvixe.com/how-to-create-new-pages-in-prestashop/ 1 Link to comment Share on other sites More sharing options...
tamara_gl Posted April 8, 2013 Author Share Posted April 8, 2013 Thanks Nemo1, I read this post looking for Google. But the idea of creating a module not seen totally right. In addition to creating my page I want to assign a completely new URL without any pattern. This post was my plan B in case of not succeeding developing my controller. For now I solved it by creating a new controller and the dispatcher set up the url for that new controller. (I'm still developing all my controller options). If I'm not satisfied with my final solution, I'll use the solution posed in the articles. Thank you very much for the help Nemo1! Link to comment Share on other sites More sharing options...
vekia Posted April 9, 2013 Share Posted April 9, 2013 so i can ho ahead and mark this thread as solved, you've got information how to create own pages :-) thanks Link to comment Share on other sites More sharing options...
Divyesh Prajapati Posted September 12, 2013 Share Posted September 12, 2013 Here is a short tut on it: On my site:http://nemops.com/creating-new-pages-in-prestashop/ On Arvixe's site: http://blog.arvixe.com/how-to-create-new-pages-in-prestashop/ thanks Nemo for awesome tips!!! worked for me.. Link to comment Share on other sites More sharing options...
keito Posted June 19, 2014 Share Posted June 19, 2014 Here is a short tut on it: On my site:http://nemops.com/creating-new-pages-in-prestashop/ On Arvixe's site: http://blog.arvixe.com/how-to-create-new-pages-in-prestashop/ Hi Nemo I tried your tutorial and it worked on PS 1.6, unfortunately I cant display the products images. Where exactly to I need to paste this code? /* Retrieving product images */ foreach ($products as $key => $product) { foreach ($products as $key => $product) { $products[$key]['id_image'] = Product::getCover($product['id_product'])['id_image']; } } Whenever I paste it before this lines $this->context->smarty->assign(array( 'products' => $products, 'homeSize' => Image::getSize('home_default') )); $this->setTemplate('allproducts.tpl'); it gives me a blank page. Kindly help me. Thank you. 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