Jump to content

Positions Drag and Drop into a module


piribipipi

Recommended Posts

Hi

I created a custom module. It shows a list of elements (using helperlist). One of the columns its called "Position" and it let me to drag and drop each element an order it. The problem its that the modifications are not done in the database.

 

I´m not sure how to add the code in the module... its an ajax process, but i dont know how it works.... :(

 

Could u help me please???

 

i tried to add several functions, like  _postProcess(), but it never show me any successfull result :(

 

when i modify the position of any element,  a call is triggered with this parameters (an example):

action	
updatePositions
ajax	
1
catalog[]	
tr_2_43_1
catalog[]	
tr_2_45_0
catalog[]	
tr_2_46_2
catalog[]	
tr_2_47_3
catalog[]	
tr_2_48_4
catalog[]	
tr_2_49_5
catalog[]	
tr_2_52_6
catalog[]	
tr_2_53_7
catalog[]	
tr_2_54_8
catalog[]	
tr_2_55_9
catalog[]	
tr_2_59_10
catalog[]	
tr_2_62_11
id	
45
way	
1

how can i process that???? thank you so much!!!!

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