6 users online. Create an account or sign in to join them.Users
Can I extend the AjaxReorder class into my own extension
This is an open discussion with 1 reply, filed under General.
Search
Ignore me, I have it all sorted now! page re-ordering in my extension woop!
Create an account or sign in to comment.
Hey peeps,
I'm wanting to provide page re-ordering in my extension as per question from Stephen Bau in this discusssion.
Now I thought about copying the AjaxReorder code and refactoring the bits I needed from there, but then thought, that's not the Symphony way :)
Has anyone extended the AjaxReorder class and used that in an extension to provide pages outside of the Blueprints > pages list view with the ability to re-order pages in this way? I've got my js setup and change the orderable and selectable classes to my own so as not to conflict with the core classes and the event listeners picked up by the admin.js file.
My extension is a sort of static page manager (very simple but works really well for my needs)
Any pointers in the right direction here would again, be awesome.
Thanks.