Jump to content

AdminProductsController override, migrating 1.6 to 1.7 module


Recommended Posts

I am migrating my module from PS1.6 to 1.7 and would like some explanation to my case.

 

In my module version 1.6 I have a override of AdminProductsController that set some Javascripts with setMedia() method and that add some 3 actions on initToolbar method, the actions added are links that have click handlers setted on JS added in setMedia(). How to migrate that arch to 1.7? The AdminProductsController on 1.7 does not have that methods (setMedia and initToolbar).

 

I looked to PrestashopBundle and figure it out that the new Symfony Architecture for Product Admin page would let me extend templates and so on, but how? And how to do it with in my module that will be installed on other prestashops?

 

Please help me.

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