prestatent Posted November 8, 2013 Share Posted November 8, 2013 (edited) Prestshop 1.5.4.1 Hi I've been trying out this tutorial here: http://doc.prestashop.com/display/PS15/Creating+a+PrestaShop+module Everything was going well until I got to the "Embedding a template in the theme" section where I want to display my template "display.tpl". When I click on the link to display the page I get the following message: "Oops, something went wrong.Try to refresh this page or feel free to contact us if the problem persists." Has anyone else experienced this issue? Thank you for any help. Edited November 11, 2013 by prestatent (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted November 8, 2013 Share Posted November 8, 2013 hello can you share url to the controller page? how it looks like? Link to comment Share on other sites More sharing options...
prestatent Posted November 8, 2013 Author Share Posted November 8, 2013 Hi Vekia I'm running this on my local machine. Link is http://localhost/presta-new/en/module/productreg/display My module folder layout with files is: modules/productreg/productreg.php modules/productreg/views/templates/hook/productreg.tpl modules/productreg/controllers/front/display.php modules/productreg/display.tpl Link to comment Share on other sites More sharing options...
vekia Posted November 8, 2013 Share Posted November 8, 2013 can you try to open the same page but without /en/ ? Link to comment Share on other sites More sharing options...
prestatent Posted November 8, 2013 Author Share Posted November 8, 2013 Thanks Vekia Just tried this and it gave me the same result. However, I placed the display.tpl in folder /modules/productreg/view/templates/front. This seemed to do the trick in that it now displays the content of display.tpl. The only problem now is that display.tpl displays in the leftcolumn block rather than fit in with rest of the template. Link to comment Share on other sites More sharing options...
vekia Posted November 8, 2013 Share Posted November 8, 2013 let's clarify you created controller to display it as a separate page? or attached module to hook? Link to comment Share on other sites More sharing options...
prestatent Posted November 10, 2013 Author Share Posted November 10, 2013 Vekia I followed the instructions as per the tutorial mentioned above. The tutorial was to create a separate page and the module is attached to the hook as far as I can tell. Link to comment Share on other sites More sharing options...
prestatent Posted November 11, 2013 Author Share Posted November 11, 2013 The issue with the page displaying over the top of the left column has been solved. The issue is with the template we have purchased. Link to comment Share on other sites More sharing options...
vekia Posted November 11, 2013 Share Posted November 11, 2013 thank you for confirmation, may i know what theme you bought? Link to comment Share on other sites More sharing options...
prestatent Posted November 11, 2013 Author Share Posted November 11, 2013 The theme was Warehouse. See screenshot of issue. 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