Ruman Posted November 1, 2018 Share Posted November 1, 2018 Hi , I am newbie in prestashop 1.7.2.1. I created a module for product enquiry. In that module I have created a controller to display the grid view in the enquiry tab in Back office. But when I am opening Enquiry tab in admin panel it's giving me the following error(screenshot attached). I am also attaching my controller named AdminEnquiryController.php for refrence. apart from this can any one let me know, Is $this->fields_list will display the grid view automatically or do I need to implement this(if yes then how?) I am stucking in this, couldn't find solution. Thanks in advance,please help. Link to comment Share on other sites More sharing options...
Ruman Posted November 11, 2018 Author Share Posted November 11, 2018 Hi, I got the answer i was doing the mistake in public function init() method. I was doing a silly mistake to calling parent::__contruct(); instead of parent::init(); . Secont point is that I need to implement my db query when with grid view the problem will be resolved 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