svierkant Posted September 14, 2013 Share Posted September 14, 2013 (edited) I've made a custom module to make a wizard. I want to use the 'default' theme files, but I got an error. This is from modules/mycustomwizard/controllers/front/products.php: $this->setTemplate(_PS_THEME_DIR_ .'product-list.tpl'); In 'log/20130914_exception.log' I found this: *ERROR* 2013/09/14 - 21:42:30: Template '/home/***/domains/****/public_html/themes/*****/product-list.tpl'' not found at line 61 in file classes/controller/ModuleFrontController.php Why can't I use that template file? The given file does exist, but computer says no. Why?! If I skip '_PS_THEME_DIR_', it doesn't work either (Template 'product-list.tpl'' not found). Edited September 14, 2013 by svierkant (see edit history) Link to comment Share on other sites More sharing options...
David Šimáček Posted November 28, 2014 Share Posted November 28, 2014 ... that I´d also like to know ´cause I need it. Link to comment Share on other sites More sharing options...
David Šimáček Posted December 3, 2014 Share Posted December 3, 2014 ... I´ve already got why it doesn´t work. Sorry I should first take a look a bit and then put a question. 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