Alexander.X Posted August 6, 2016 Share Posted August 6, 2016 (edited) Hi everyone! I'm creating my first prestashop e-shop, and now, among other things like theme customization, I've learned in practice the basics of module development, including settings page, front- and backoffice hooks and so on. But I still cant understand how to create an Admin***Controller for my module. Now I know how to create admin menu item (tab) and make my controller just to exist (in other words - my controller page can be opened without errors), but now I'm just using redirect in my Admin***Controller.init() to my module settings page, because that's the only (ugly) way I found to call my module backoffice page from admin menu. So, the question is: is there some step-by-step guide, where the admin controller creation basics described like the module creation described in official PS docs? the only thing I found in PS docs about controller is short description about some fields of frontend controller (but it just helped me to understand the concept of usinc controller - create tpl, fill some magic data, call display*** methods - and happyness will come), but nothing else... Thanks in advance for your help Edited August 6, 2016 by Alexander.X (see edit history) Link to comment Share on other sites More sharing options...
phinq1910 Posted August 9, 2016 Share Posted August 9, 2016 I found this book, hope this help 3 Link to comment Share on other sites More sharing options...
Alexander.X Posted August 9, 2016 Author Share Posted August 9, 2016 Wow, thanks a lot, this is exactly I searched! Link to comment Share on other sites More sharing options...
krismb Posted March 21, 2018 Share Posted March 21, 2018 how did you do the redirect ? I am interested 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