Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Need help, deleted file: create account from contacts page

  1. #1
    caxy is offline Sugar Community Member
    Join Date
    Dec 2007
    Posts
    16

    Default Need help, deleted file: create account from contacts page

    I think that I accidentally deleted the page associated with the 'add account' button (named add company in the screen below). When I click the button, the AJAX call happens but the page does not load which is why I assume that I deleted it.

    The page is seen when you are in the add contact page and next to account (company in my instance) you click the select button. This pops up a window to select the account and also has a button called "create account" (company)



    Does anyone know what the filename is for this file?


    If it helps, I have included a screenshot and the code for the actual button below:

    <input type="button" name="showAdd" class="button" value="Create Companies" onclick="toggleDisplay('addform');" />



  2. #2
    DragonflyMaster is offline Sugar Community Member
    Join Date
    Dec 2007
    Location
    Rimini, Italy
    Posts
    1,421

    Default Re: Need help, deleted file: create account from contacts page

    As I understand,

    your pop-up is empty, showing no account (company) list.
    Take a look here:
    <sugar-root>\modules\Contacts\metadata\popupdefs.php
    and, if present, here:
    <sugar-root>\custom\modules\Contacts\metadata\popupdefs.p hp
    This file defines what's shown in contacts' popup window.
    What do you think the cookie monster eats ?

  3. #3
    caxy is offline Sugar Community Member
    Join Date
    Dec 2007
    Posts
    16

    Default Re: Need help, deleted file: create account from contacts page

    I am not sure if that is the correct file.

    The file I need is an input form which will allow me to create a contact. Essentially, the problem is that when I click the Create Company button in the screen shot, it SHOULD load the form to input a company but instead nothing happens.

    Any ideas?

  4. #4
    DragonflyMaster is offline Sugar Community Member
    Join Date
    Dec 2007
    Location
    Rimini, Italy
    Posts
    1,421

    Default Re: Need help, deleted file: create account from contacts page

    Quote Originally Posted by caxy
    I am not sure if that is the correct file.

    The file I need is an input form which will allow me to create a contact. Essentially, the problem is that when I click the Create Company button in the screen shot, it SHOULD load the form to input a company but instead nothing happens.

    Any ideas?
    Sorry,
    I understood you cannot open the page when you click "select" next to "account".
    There's something not working in that page in my sugar too:
    when I click "create account" it only loads "save" and "cancel" buttons.
    I tried with sugar CE online demo too: it has the same behaviour.
    What do you think the cookie monster eats ?

  5. #5
    caxy is offline Sugar Community Member
    Join Date
    Dec 2007
    Posts
    16

    Default Re: Need help, deleted file: create account from contacts page

    good to know, glad im not going crazy.

    Anyone from sugar have a fix for this?
    Last edited by caxy; 2008-03-21 at 02:38 PM.

  6. #6
    caxy is offline Sugar Community Member
    Join Date
    Dec 2007
    Posts
    16

    Default Re: Need help, deleted file: create account from contacts page

    I just did some related searching and it looks like someone covered this a few days ago with a fix.

    It appears the form is incomplete in Accounts/AccountFormBase.php

    You just need to add

    PHP Code:
    $lbl_account_name&nbsp;<span class="required">$lbl_required_symbol</span><br>
    <
    input name='name' type="text" value=""><br>
    $lbl_phone<br>
    <
    input name='phone_office' type="text" value=""><br>
    $lbl_website<br>
    <
    input name='website' type="text" value="http://"></p
    After the save button on line 247



    http://www.sugarcrm.com/forums/showt...te+account+bug

  7. #7
    DragonflyMaster is offline Sugar Community Member
    Join Date
    Dec 2007
    Location
    Rimini, Italy
    Posts
    1,421

    Default Re: Need help, deleted file: create account from contacts page

    Thanks Caxy
    What do you think the cookie monster eats ?

  8. #8
    ptemplin7 is offline Sugar Community Member
    Join Date
    Jun 2007
    Location
    Puget Sound Washington
    Posts
    380

    Default Re: Need help, deleted file: create account from contacts page

    Hey you two, did this get over into a bug report? Maybe that way it can e fixed in the next patch!

    Thanks Paris

  9. #9
    DragonflyMaster is offline Sugar Community Member
    Join Date
    Dec 2007
    Location
    Rimini, Italy
    Posts
    1,421

    Default Re: Need help, deleted file: create account from contacts page

    Quote Originally Posted by ptemplin7
    Hey you two, did this get over into a bug report? Maybe that way it can e fixed in the next patch!

    Thanks Paris
    It wasn't necessary, because Dpatech had already reported this bug: it's bug number 19891.
    What do you think the cookie monster eats ?

  10. #10
    decaldreams is offline Sugar Community Member
    Join Date
    Mar 2008
    Posts
    17

    Default Re: Need help, deleted file: create account from contacts page

    I have the same problem so I tried to copy and paste what you put in the forum and pasted it into the php file on line 247 like instructed. But now when the pop up comes up it is blank and says done at the bottom. Was there anything else I was supposed to add in the php file. its like the pasted script breaks the file. for me at least.

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Linking different contacts to same account names
    By bmarshall0511 in forum Help
    Replies: 1
    Last Post: 2007-09-15, 03:37 PM
  2. Replies: 1
    Last Post: 2006-12-04, 01:34 PM
  3. Replies: 1
    Last Post: 2006-09-08, 07:53 PM
  4. Replies: 3
    Last Post: 2006-02-17, 05:12 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
  •