Results 1 to 2 of 2

Thread: Building with Sugar, have some questions about adding buttons and a few functions

  1. #1
    jacobidesign is offline Junior Member
    Join Date
    Oct 2010
    Posts
    4

    Default Building with Sugar, have some questions about adding buttons and a few functions

    I'm in the middle of contracting with a client to set up Sugar for his business and need to know if the following is possible. We're using CE 6.0.1. I've searched the forums pretty extensively but haven't been able to find much on these topics:

    1. Can buttons be added in the Contact detail view that open a new window for, say, a Google search of the Contact's name? I know how to pre-format Google search strings for links, but haven't found the adding a button to the page part. This could be a button along the top with Edit, Duplicate, etc., or even an HTML field in the form that plugs in the contact's name into a search and I can make my own buttons. This would also be used in other areas in varying ways.
    2. Is there any way to allow the user to embed HTML objects into a description box? Google Voice will be his primary number, and in the Call records I'd like for him to be able to copy and paste the embed code for the call from Google Voice so he can review the call without leaving Sugar. As of now it doesn't parse the code correctly. I'd even settle for, like above, adding a button to the Contact page that searches Google Voice in a new window for the contact's phone number to view all their calls at once.
    3. Where is the menu structure files located at for editing? Say I want to create a new button somewhere else. I'm able to find some tpl files and have worked with the MVC system on other projects before, but for some reason I'm not finding where these files are here.

  2. #2
    eitrix's Avatar
    eitrix is offline Sugar Community Member
    Join Date
    Aug 2010
    Location
    Serbia
    Posts
    396

    Default Re: Building with Sugar, have some questions about adding buttons and a few functions

    module/metadata/xxxview.php

    arrays that represent buttons and fields are there.

    When you make customization copy this file if it does not exist to custom/modules/xxx/metadata/here

    and then edit the file there, quick repair in the end
    CRM Software Engineer
    Eontek - www.eontek.rs

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 1
    Last Post: 2009-07-30, 04:11 PM
  2. Replies: 0
    Last Post: 2007-08-31, 12:31 PM
  3. Changing the questions (fields) when adding new account?
    By jasonadmin in forum Customer Support
    Replies: 1
    Last Post: 2007-08-30, 10:41 AM
  4. Replies: 0
    Last Post: 2007-08-11, 03:45 PM
  5. adding 'url' field to leads... questions
    By ryno267 in forum Developer Help
    Replies: 0
    Last Post: 2005-07-08, 01:22 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
  •