Page 1 of 42 1234511 ... LastLast
Results 1 to 10 of 419

Thread: Module Builder

  1. #1
    Olavo is offline Sugar Community Member
    Join Date
    Apr 2005
    Posts
    120

    Lightbulb MODULE: Module Builder

    The building of a new module for SugarCRM is a cumbersome and error prone process.
    To reduce the work and inspired by Tinky message about Custom Objects (http://www.sugarcrm.com/forums/showthread.php?t=10650)
    I'm working on a module to build other modules.
    (so... Module Builder project on SugarForge http://www.sugarforge.org/projects/modulebuilder/).

    The goal is to provide customizable templates, installable as usual, and able to be used by Sugar Studio for the formatting tasks before the building function.

    This version 1.0 is able to create a simple module fully downloadable and installable.

    Implemented features:
    • Basic module definition (name, object, table, etc)

    • Grouping of data in Edit/Detail views

    • User defined dropdows


    Not yet implemented:
    • SubPanels

    • Admin Panel & menu

    • Special buttons on views

    • Linked and Complex module templates


    The basic steps to build a new module are depicted below:

    First download and install the Module Builder and the Simple Template

    MODULE BUILDER: Use the Module Builder to define the new Module (and SAVE please)

    1. After save define how many groups (sections on Edit/Edit views)
    1.1 Click Add Group Now (You can check the result creating a Simple Module object)

    STUDIO: Use SugarCRM Studio to customize Simple Module views
    2.1 Dropdown Editor - create new required dropdowns
    3.2 Edit Custom Fields - create all new required fields
    3.3 Field Layout - customize the Simple Module views Layout

    MODULE BUILDER: Edit the new module definition
    4. Import the created dropdowns
    5. Build the new module
    5.1 Download the installable zip file
    5.2 Delete the temporary files created

    MODULE LOADER: Use module loader to install and est your new module
    6.1 Upload your new module
    6.2 Install your new module
    6.3 Test your work
    Known defects
    1. You need to save frequently and goback to edit, before clicking on any button inside the Module Builder EditView (ok it is cumbersome too)
    2. The resulting module does not show saved dropdown field values
    3. The layout for groups is not recognized by Studio to add new rows
    4. ... you name it... (and please let me know about)

    Regards,
    Olavo
    Attached Files Attached Files
    Last edited by Olavo; 2006-05-03 at 01:18 AM. Reason: Title redefinition

  2. #2
    Knot is offline Junior Member
    Join Date
    Apr 2006
    Posts
    3

    Default Re: Module Builder

    When config in Admin\Module Builder Config got error
    like below and I check don't have file config.php
    -----------------------------------------------------------------------------------------
    Warning: include(modules/Builder/config.php) [function.include]: failed to open stream: No such file or directory in \SugarSuite\index.php on line 632

    Warning: include() [function.include]: Failed opening 'modules/Builder/config.php' for inclusion (include_path='.;C:\php\includes;C:\php\PEAR') in \SugarSuite\index.php on line 632

  3. #3
    CragStar is offline Member
    Join Date
    May 2006
    Posts
    6

    Exclamation Re: Module Builder

    Quote Originally Posted by Knot
    When config in Admin\Module Builder Config got error
    like below and I check don't have file config.php
    -----------------------------------------------------------------------------------------
    Warning: include(modules/Builder/config.php) [function.include]: failed to open stream: No such file or directory in \SugarSuite\index.php on line 632

    Warning: include() [function.include]: Failed opening 'modules/Builder/config.php' for inclusion (include_path='.;C:\php\includes;C:\php\PEAR') in \SugarSuite\index.php on line 632
    Yes I have come across the same problem. I think the sys admin has setup a LAMP stack here.

    I'm going to report this as a bug in SugarForge.

  4. #4
    CragStar is offline Member
    Join Date
    May 2006
    Posts
    6

    Lightbulb Re: Module Builder

    Actually, thinking about it, I was unable to load installModuleSimpleTemplate.zip due to this error:

    Code:
    The uploaded file is not compatible with this version of Sugar Suite: 4.0.1e
    I've got a feeling that this is probably why I had the error above. Olavo, which version of SugarCRM did you create the Module Builder for?

  5. #5
    velocitygirl is offline Sugar Community Member
    Join Date
    Jan 2006
    Location
    Berlin, Germany
    Posts
    21

    Default Re: Module Builder

    Hi there,
    I just tested the ModuleBuilder and I think this is a great idea.
    I just started having a look at Sugar so this is really a great help since I have to create a few new modules.

    thanks & rgds, velocitygirl
    Last edited by velocitygirl; 2006-05-03 at 11:50 AM.

  6. #6
    staibha is offline Sugar Community Member
    Join Date
    Nov 2005
    Location
    berlin, germany
    Posts
    64

    Thumbs up Re: Module Builder

    Hi Olavo,

    thank you for this great tool. Just installed it under 4.2.0a without any problems. I am curious about the full featured release!

    Cheers Haimar
    Cheers Haimar

    staib media gmbh
    www.staibmedia.com
    info(at)staibmedia.com

    Berlin, Germany

  7. #7
    CragStar is offline Member
    Join Date
    May 2006
    Posts
    6

    Default Re: Module Builder

    Oh I definitely agree that it is a good idea, great even!

    I'm just trying to get it to work. So far I have worked out that I needed to have version 4.2.0 installed to upload installModuleSimpleTemplate.zip. I've upgraded and this is working fine now, although I still get the original error when clicking on Module Builder Config:

    Code:
    Warning: main(modules/Builder/config.php): failed to open stream: No such file or directory in /var/www/sugar/index.php on line 626
    
    Warning: main(): Failed opening 'modules/Builder/config.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/sugar/index.php on line 626
    That config.php is missing.

    Another small error is that I have a blank tab next to Documents which I'm guessing is for the Module Builder because it takes me there when I click on the small red bar above where the text should be.

  8. #8
    malcolmh's Avatar
    malcolmh is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Aug 2004
    Posts
    1,712

    Default Re: Module Builder

    Hallo Olavo,

    Just had a brief look at the Module Builder, it has G. R. E. A. T potential, just what non-programming consultants like me need! . (The first time I created a module with the songs example it took about a week to get it working correctly)

    You mentioned that drop down values are not shown in the finished module, the same thing happens in the Module Builder itself, with the Sugar Flavor

    When are you targetting the development and release of the other features!

    Keep up the GREAT work!
    Cheers Malcolm

    Genius4U Limited - Ingenious simple IT solutions for you / Genial einfache IT Lösungen für Sie
    http://www.genius4u.com or http://www.genius4u.de

  9. #9
    CragStar is offline Member
    Join Date
    May 2006
    Posts
    6

    Default Re: Module Builder

    I'm slightly confused about this, although I'm sure that there is a simple explaination.

    I've been following the instructions outlined in the 1st post of this thread, but I keep getting this error message on step 1.1 when I click on 'Add Group Now':

    Code:
    Warning: Division by zero in /var/www/apache2-default/sugar/modules/Builder/utils.php on line 86
    
    Warning: Division by zero in /var/www/apache2-default/sugar/modules/Builder/utils.php on line 86
    SETUP: sugarbean -> class:simple
    Building Simple Module
    groups added
    Return
    I'm using a fresh installation of version 4.2.0a (Open Source) - has anybody else had this error?

  10. #10
    ssch is offline Sugar Community Member
    Join Date
    Aug 2005
    Posts
    34

    Default Re: Module Builder

    Ok

    D'abord merci pour ce FABULOUS MODULE

    I am under windows with a sugarspike 42.0 installation fresh installation

    I have no probleme with this module no error nothing all ok

    The only thing what is the group option and hope you worjk on this project my friend , i am not develloper i am simple user

    Frecnh user

    Serge

Page 1 of 42 1234511 ... LastLast

Thread Information

Users Browsing this Thread

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

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
  •