Jump to content

Recommended Posts

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?)5bdafdd4bea40_Screenshotfrom4.thumb.png.c62c1bccfa0f9490d17fddc34453dd7e.pngScreenshot1.png.865398dc4da0edfa1531f0ad09d7feff.png

I am stucking in this, couldn't find solution. Thanks in advance,please help.

Link to comment
Share on other sites

  • 2 weeks later...

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...