Results 1 to 3 of 3

Thread: Help... no DetailView

  1. #1
    Mars is offline Member
    Join Date
    May 2008
    Posts
    6

    Default Help... no DetailView

    There is any posible to skip the DetailView when you save a Task?? I need to redirect the EditView to Listview..

    Thanks

  2. #2
    Angel's Avatar
    Angel is offline Sugar Community Member
    Join Date
    Jul 2005
    Location
    Los Angeles
    Posts
    4,813

    Default Re: Help... no DetailView

    Try creating a security role where the View option for Tasks is set to none, it will prevent any users that are part of that role from being able to access the detailview. However, you should note that the side effect is that whenever they save a new task, the user will be redirected to the Home page.
    Regards,

    Angel Magaña
    Co-Author: Implementing SugarCRM 5.x (Packt Publishing -- Sept. 2010)
    Blog: http://cheleguanaco.blogspot.com.
    Twitter: @cheleguanaco.

    ________
    | Projects: |_____________________________________
    |
    | CandyWrapper (.NET Wrapper for SugarCRM SOAP API). Source now available on GitHub!
    | GoldMine to SugarCRM Express Conversion. Latest: 1.0.1.7 (Nov. 3, 2009)
    | CRM SkyDialer (Skype Integration). Latest: 1.0.2 (Feb. 17, 2010)
    | Round Robin Leads Assignment
    | Phone Number Formatter
    | CaseTwit (Twitter Integration)
    ______________________________________________

  3. #3
    andopes's Avatar
    andopes is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Jul 2006
    Location
    São Paulo - Brazil
    Posts
    8,335

    Default Re: Help... no DetailView

    Hi, Mars.

    I believe you can:
    1. create or modify the view.edit.php or
    2. create a logic_hook before_save
    and override the return_action to index
    This way after saving it will be automatically redirect to ListView.

    Cheers
    André Lopes
    DevToolKit / Project of the Month - June 2009
    Lampada Global Services- Open Source Solutions
    Avenida Ipiranga, 318
    Bloco B - CJ 1602
    São Paulo, SP 01046-010
    Brazil
    Office: +55 11 3237-3110
    Mobile: +55 11 7636-5859
    e-mail: andre@lampadaglobal.com

    Lampada Global delivers offshore software development and support services to customers around the world.
    Lampada is proud to be a SugarCRM Gold Partner, revolutionizing Customer Relationship Management.

    I DO NOT answer questions through PM and Email. If you need some help post your question into SugarForum.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 3
    Last Post: 2010-01-29, 12:27 AM
  2. DetailView of the module Meeting in SUGAR 5
    By wkamdem in forum General Discussion
    Replies: 6
    Last Post: 2008-04-03, 01:28 PM
  3. EditView fields in DetailView
    By joel.oliveira in forum Help
    Replies: 3
    Last Post: 2008-01-29, 05:18 PM
  4. Task detailview form name
    By dricrm in forum Developer Help
    Replies: 0
    Last Post: 2006-12-21, 10:14 AM
  5. Display detailView
    By aksana in forum Developer Help
    Replies: 3
    Last Post: 2006-10-06, 02:28 AM

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
  •