Results 1 to 4 of 4

Thread: export

  1. #1
    garciasanchezdaniel's Avatar
    garciasanchezdaniel is offline Sugar Community Member
    Join Date
    Aug 2011
    Location
    Spain
    Posts
    403

    Default export

    hello friends I just updated my sugar from 4.2.1d to 6.1.7, and I have one question:

    is possible to export modules from 4.2.1d in order to install in sugar version 6.1.7? I reply myself: I think that this isn't possible, because sugar v.4.2.1 hasn't module builder or studio, so for have these modules in sugar v.6.1.7, I will have to create these modules again.....but I'm not sure of this....

    could anyone suggest in this?

    Thanks in advance, Daniel
    Last edited by garciasanchezdaniel; 2012-02-06 at 07:08 AM.

  2. #2
    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: export

    Theorically yes, but I don't recommend that. I suggest you to recreate the module through Module Builder. That should be easy enough, once you know how such module must work.

    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.

  3. #3
    garciasanchezdaniel's Avatar
    garciasanchezdaniel is offline Sugar Community Member
    Join Date
    Aug 2011
    Location
    Spain
    Posts
    403

    Default Re: export

    Hi andopes! Thanks!

    And do you know if is a safe way do it by hand in this way?

    1. Copying the directory /modules/mymodule/ (from the old version) into /modules (new version)
    2. Copying the directory /custom/modules/mymodule/ (from the old version) into custom/modules (new version)
    3. Copying the file custom/Extension/application/Ext/Language/mymodule.php (from the old version) into custom/Extension/application/Ext/Language/ (new version)
    4. Modify include/modules.php in order to add my module:

    1. $moduleList[] = 'mymodule';
    2. $beanList['mymodule'] = 'mymodule';
    3. $beanFiles['mymodule'] = 'modules/mymodule/mymodule.php';

    Making this, I find my module in administration > tabs manager, in order to add it.

    Regards, Daniel

  4. #4
    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: export

    Quote Originally Posted by garciasanchezdaniel View Post
    Hi andopes! Thanks!

    And do you know if is a safe way do it by hand in this way?

    1. Copying the directory /modules/mymodule/ (from the old version) into /modules (new version)
    2. Copying the directory /custom/modules/mymodule/ (from the old version) into custom/modules (new version)
    3. Copying the file custom/Extension/application/Ext/Language/mymodule.php (from the old version) into custom/Extension/application/Ext/Language/ (new version)
    4. Modify include/modules.php in order to add my module:

    1. $moduleList[] = 'mymodule';
    2. $beanList['mymodule'] = 'mymodule';
    3. $beanFiles['mymodule'] = 'modules/mymodule/mymodule.php';

    Making this, I find my module in administration > tabs manager, in order to add it.

    Regards, Daniel
    It MAY work, but it depends on how that module was implemented. It may use some old SugarCRM classes obsoletes nowadays.

    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. Export Targets / Export Prospects
    By annesugar in forum Developer Help
    Replies: 1
    Last Post: 2010-06-07, 09:32 PM
  2. Replies: 5
    Last Post: 2010-03-01, 12:18 PM
  3. Custom export function or logic hook for export?
    By ivit in forum Developer Help
    Replies: 1
    Last Post: 2009-03-22, 08:22 PM
  4. Replies: 0
    Last Post: 2008-04-16, 12:04 PM
  5. Replies: 0
    Last Post: 2007-09-11, 05:01 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
  •