Results 1 to 2 of 2

Thread: Change the Save Button behaviour

  1. #1
    chrislynch8's Avatar
    chrislynch8 is offline Sugar Community Member
    Join Date
    Oct 2007
    Location
    Cork, Ireland
    Posts
    747

    Default Change the Save Button behaviour

    Hi,

    Is it possible to change the Save Button to not always return to the parent module. If I create a contact under an Account, I would like the Save to return me to the new module.

    Is this possible.

    Rgds
    Chris
    Linkedin Profile:Chris Lynch

    FDC IT Solutions
    FDC House
    Wellington Road
    Cork
    Ireland

  2. #2
    eggsurplus's Avatar
    eggsurplus is offline Sugar Community Member
    Join Date
    Dec 2005
    Location
    Minnesota
    Posts
    2,343

    Default Re: Change the Save Button behaviour

    There are a few ways you could do this. You could use an after_save hook or override the module controller's post_save function. I'd probably go with after_save and either change the return module/action/record based on your criteria which the controller should pick up or build the redirect string manually. Haven't tried it but it should work.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. change save button event action
    By sujitkirve in forum Developer Help
    Replies: 5
    Last Post: 2009-10-22, 12:15 PM
  2. Save button do not make anything
    By andertxu in forum Developer Help
    Replies: 4
    Last Post: 2009-09-28, 08:10 PM
  3. Save button doesnt appear
    By iski4kix in forum Help
    Replies: 4
    Last Post: 2009-08-25, 05:21 PM
  4. save & close button
    By promission in forum Feature Requests
    Replies: 1
    Last Post: 2006-03-10, 06:48 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •