M Iqbal Posted October 18, 2022 Share Posted October 18, 2022 Hello dev, I am creating custom module on prestashop, I want to execute a function just after when the admin successfully logged in and dashboard page is loaded. In other CMS I see there is hook available for admin dashboard. In prestashop I tried with "displayAdminAfterHeader" hook but it is not working. Please help. Link to comment Share on other sites More sharing options...
ps8modules Posted October 20, 2022 Share Posted October 20, 2022 Hi. https://devdocs.prestashop-project.org/1.7/modules/concepts/hooks/list-of-hooks/ More info and functions in ./controllers/admin/AdminLoginController.php * actionAdminLoginControllerSetMedia * actionAdminLoginControllerBefore * actionAdminLoginControllerLoginBefore * actionAdminLoginControllerLoginAfter * actionAdminLoginControllerForgotBefore * actionAdminLoginControllerForgotAfter * actionAdminLoginControllerResetBefore * actionAdminLoginControllerResetAfter 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