⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

modify "save" and "save and go back to list"



Matthew Collins
  • profile picture
  • Member

Posted 05 November 2012 - 18:15 PM

I need to be able to detect if a user has selected "save and go back to list" instead of "save" so I can then perform a different function (send them to a different controller, instead of sending them to the list).

Or, said another way, I need to add a new button / function to the "save", "save and go back to list" section.

is this available within the framework?

thanks in advance -- love grocerycrud!

Alex Price
  • profile picture
  • Member

Posted 15 January 2013 - 08:56 AM

Did you figure this out?

victor
  • profile picture
  • Member

Posted 15 January 2013 - 09:55 AM

there is a solution on this forum how to make it. try find it.

Matthew Collins
  • profile picture
  • Member

Posted 15 January 2013 - 12:46 PM

I believed I used this solution: /topic/324-workaround-redirect-to-the-list-after-insertupdate-without-changing-the-core-functionality-of-gc/

Basically, after successful insert, you're adding in some javascript to say "thanks" and then redirect you to the new location