Jump to content

[SOLVED] Display content on Admin side


Recommended Posts

Hi !

I am creating a module for Prestashop 1.7.6

I would like to :

                              _create an Admin page with my own html code,

                              _and have a tab registered on the left pannel to access that Admin page.

 

I have to use these ressources :

                                 https://devdocs.prestashop.com/1.7/modules/concepts/controllers/admin-controllers/

                                 https://devdocs.prestashop.com/1.7/modules/concepts/controllers/admin-controllers/tabs/

But I don't understand and need your help.

 

Shall my class in controllers/admin/MyController extends ModuleAdminController and FrameworkBundleAdminController ?

In which funtion can I ask for $this->render or $this->display ?

 

Thank you for helping me to understand..

Link to comment
Share on other sites

I still have not understand the man pages :

                                 https://devdocs.prestashop.com/1.7/modules/concepts/controllers/admin-controllers/

                                 https://devdocs.prestashop.com/1.7/modules/concepts/controllers/admin-controllers/tabs/

 

But here's a great [FR] tutorial on how to do it :

https://www.h-hennes.fr/blog/2018/11/15/prestashop-admincontroller-pour-un-module/

 

Thanks so much H.Hennes.

Link to comment
Share on other sites

  • ABCDino changed the title to [SOLVED] Display content on Admin side

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...