Jump to content

Admincontroller after add


cikcak

Recommended Posts

Hey,

 

I have created additional Controller - AdminPlistController. After I add a new record with - ADD NEW ( http://prntscr.com/7f9s37 ) I would like to insert custom data to other db table.

 

Can I do it by one class? Plist controller has assigned class - MPlist where I selected table - Plist. Here I write data in Plist table after Add new submit. Im using as default ObjectModel:: definition.

 

Is it possible to insert data to different data? For example after submit new record it insert data to Plist table and Plist_customers table ?

 

If no I could do it in my AdminPlistController after submit data but which function use? postProccess() ?

 

Thanks for any info, sorry for bad english skills.

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