Results 1 to 7 of 7

Thread: New Action on Module

  1. #1
    mcollantes is offline Junior Member
    Join Date
    Mar 2010
    Posts
    1

    Post New Action on Module

    Hi, i m new on this

    how I could add a new action in an existing module of Sugarcrm 5.2?. I do not want to create a new module. In the module builder not showing me the module Users

    Thanks

  2. #2
    datasponge is offline Sugar Community Member
    Join Date
    Mar 2008
    Location
    San Jose, CA, USA
    Posts
    553

    Default Re: New Action on Module

    What do you mean by action? What are you trying to do?

    Take a look at Studio on the Admin page. This tool lets you add fields, change layouts, change labels and more.

    Phil

  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: New Action on Module

    Yes, it is possible.

    Take a look into modules/Campaigns/controller.php
    You will see a definition to a custom action: newsletter.

    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.

  4. #4
    kevin85 is offline Junior Member
    Join Date
    Jun 2010
    Posts
    2

    Default Re: New Action on Module

    im also having an issue about adding new module. can someone give me the step by step instructions on how to do it? thanks..

  5. #5
    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: New Action on Module

    Quote Originally Posted by kevin85 View Post
    im also having an issue about adding new module. can someone give me the step by step instructions on how to do it? thanks..
    Please, clarify your request.
    Are you meaning creating a custom module or installing a package?

    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.

  6. #6
    alejandroCudeca is offline Junior Member
    Join Date
    Jul 2011
    Posts
    2

    Default Re: New Action on Module

    Hello:

    Don't know if this thread is alive. I think that answer works with the standart modules, but if I whant to create a new action, (the idea is clone de delete action to have an option to delete the record but create a new on other module), on a basic module created via de Module Builder. Can't find a specific controller of my custom module.

    Any help?
    regards

  7. #7
    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: New Action on Module

    You can create a custom controller.php for your module and implement the method action_delete. Inside this action you can specify a view and implement it according to your needs.

    Regards
    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. My Action in My Module
    By Keyser in forum Developer Help
    Replies: 8
    Last Post: 2009-06-03, 01:20 PM
  2. url missing module,action,record during Edit
    By piccirm in forum Developer Help
    Replies: 2
    Last Post: 2009-01-27, 02:29 PM
  3. error on log in action of users module
    By robriggen in forum Help
    Replies: 2
    Last Post: 2008-10-21, 03:58 AM
  4. module and action
    By Gonima in forum Help
    Replies: 0
    Last Post: 2007-12-20, 03:49 PM
  5. action=Detailview module=Accounts
    By lorenzogrilli in forum Customer Support
    Replies: 0
    Last Post: 2005-09-28, 02:23 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
  •