Results 1 to 2 of 2

Thread: Erased files after deploying a custom module

  1. #1
    niksata is offline Junior Member
    Join Date
    Jan 2012
    Posts
    2

    Default Erased files after deploying a custom module

    Hi there,

    I'm customizing sugarcrm version 6.4.0, but when I create a logic-hooks file within custom/modules/<MyModule>, after deploying of the custom module through the Module Builder, the logic-hooks file is erased. The same happens when I create controller.php.
    Is there something that I have to set up or to do before I deploy the module?

    Thanks in advance
    Niksa

  2. #2
    sts's Avatar
    sts
    sts is offline Sugar Community Member
    Join Date
    Aug 2010
    Posts
    978

    Default Re: Erased files after deploying a custom module

    You could try to place your files in subdirectories under custom\modulebuilder\packages\<YOUR_PACKAGE_NAME>\ modules\<YOUR_MODULE_NAME> (this is the working directory of the ModuleBuilder). Module Builder should copy them during deployment.

    In my experience this works in many cases but not always. I had some trouble when exporting the package (including some additional files with manual code changes) with ModuleBuilder and trying to import in another sugar installation but when deploying in the same installation with ModuleBuilder it worked. (tested with 6.1.6)
    Stefan Ulrich Sauer
    System Analyst

    Devoteam Danet GmbH
    Gutenbergstraße 10
    D-64331 Weiterstadt
    Germany
    email: Stefan-Ulrich.Sauer@devoteam.com
    http://www.devoteam.de

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Deleting files after deploying a custom module
    By niksata in forum Developer Help
    Replies: 5
    Last Post: 2012-01-23, 06:17 PM
  2. Serious error when deploying custom module
    By dukeofgaming in forum Help
    Replies: 5
    Last Post: 2011-01-08, 10:34 PM
  3. Deploying custom module
    By Keyser in forum Installation and Upgrade Help
    Replies: 4
    Last Post: 2010-04-12, 08:40 AM
  4. Why does deploying Package delete custom files?
    By dvelguru in forum Developer Help
    Replies: 4
    Last Post: 2010-01-20, 06:13 PM
  5. Need help for deploying custom module
    By vivek6151 in forum Help
    Replies: 3
    Last Post: 2009-10-07, 11:28 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
  •