Jump to content
ABCDino

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

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More