Results 1 to 5 of 5

Thread: new module not linking to account

  1. #1
    karloff is offline Junior Member
    Join Date
    Aug 2008
    Posts
    3

    Default new module not linking to account

    I have created a new module to contain domains which should be linked to the account (via studio), however when you view an account it shows every domain.

    Can anyone advise a noob on what is need to setup the relationship and display on the domains relating to that account

  2. #2
    karloff is offline Junior Member
    Join Date
    Aug 2008
    Posts
    3

    Default Re: new module not linking to account

    not sure if this is any help but i have the following code in custom/module/accounts/ext/layoutsdef/layoutdefs.ext.php



    PHP Code:
    $layout_defs["Accounts"]["subpanel_setup"]["hosts_domain"] = array (   'order' => 100,   'module' => 'Hosts_domain',   'subpanel_name' => 'default',   'get_subpanel_data' => 'hosts_domain',   'add_subpanel_data' => 'Hosts_domain_ida',   'title_key' => 'LBL_HOSTS_DOMAIN_SUBPANEL_TITLE', ); 

  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 module not linking to account

    Hi karloff

    You need to go to Admin -> Repair -> Rebuild Relationships

    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
    karloff is offline Junior Member
    Join Date
    Aug 2008
    Posts
    3

    Default Re: new module not linking to account

    get some weird errors

    Warning: include_once(metadata/Hosts_domain_accountsMetaData.php) [function.include-once]: failed to open stream: No such file or directory in C:\xampp\htdocs\crm\custom\application\Ext\TableDi ctionary\tabledictionary.ext.php on line 6

    Warning: include_once() [function.include]: Failed opening 'metadata/Hosts_domain_accountsMetaData.php' for inclusion (include_path='C:\xampp\htdocs\crm\include/..;.;C:\xampp\php\pear\') in C:\xampp\htdocs\crm\custom\application\Ext\TableDi ctionary\tabledictionary.ext.php on line 6

    Warning: include_once(metadata/teams_teams_usersMetaData.php) [function.include-once]: failed to open stream: No such file or directory in C:\xampp\htdocs\crm\custom\application\Ext\TableDi ctionary\tabledictionary.ext.php on line 11

    Warning: include_once() [function.include]: Failed opening 'metadata/teams_teams_usersMetaData.php' for inclusion (include_path='C:\xampp\htdocs\crm\include/..;.;C:\xampp\php\pear\') in C:\xampp\htdocs\crm\custom\application\Ext\TableDi ctionary\tabledictionary.ext.php on line 11

    Warning: include_once(metadata/Hosts_domain_accountsMetaData.php) [function.include-once]: failed to open stream: No such file or directory in C:\xampp\htdocs\crm\custom\application\Ext\TableDi ctionary\tabledictionary.ext.php on line 6

    Warning: include_once() [function.include]: Failed opening 'metadata/Hosts_domain_accountsMetaData.php' for inclusion (include_path='C:\xampp\htdocs\crm\include/..;.;C:\xampp\php\pear\') in C:\xampp\htdocs\crm\custom\application\Ext\TableDi ctionary\tabledictionary.ext.php on line 6

    Warning: include_once(metadata/teams_teams_usersMetaData.php) [function.include-once]: failed to open stream: No such file or directory in C:\xampp\htdocs\crm\custom\application\Ext\TableDi ctionary\tabledictionary.ext.php on line 11

    Warning: include_once() [function.include]: Failed opening 'metadata/teams_teams_usersMetaData.php' for inclusion (include_path='C:\xampp\htdocs\crm\include/..;.;C:\xampp\php\pear\') in C:\xampp\htdocs\crm\custom\application\Ext\TableDi ctionary\tabledictionary.ext.php on line 11

  5. #5
    nite_man is offline Sugar Community Member
    Join Date
    Dec 2005
    Location
    Limassol, Cyprus
    Posts
    54

    Default Re: new module not linking to account

    The same here. I tried many times to re-build relations. But still have the error about open file from the metadata directory. any help will be very appreciated.
    Best Regards,
    Michael Stepanov
    SugarCRM CE 5.0.0.0e, Fedora 8

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 0
    Last Post: 2008-07-31, 08:07 PM
  2. How to customize a module using Account popup searcher
    By fedepia in forum Developer Help
    Replies: 0
    Last Post: 2008-02-12, 01:10 PM
  3. Problem pulling Account Name from a new module
    By Ketzu in forum Developer Help
    Replies: 2
    Last Post: 2006-12-23, 01:12 PM
  4. Replies: 1
    Last Post: 2006-12-07, 09:20 PM
  5. Replies: 0
    Last Post: 2006-12-07, 09:10 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
  •