View Poll Results: Does this tool fits your needs?

Voters
44. You may not vote on this poll
  • Yes

    40 90.91%
  • No

    4 9.09%
Page 3 of 24 FirstFirst 123456713 ... LastLast
Results 21 to 30 of 237

Thread: Development Tool Kit released!

  1. #21
    Piperin is offline Member
    Join Date
    Jul 2008
    Posts
    10

    Unhappy Re: Development Tool Kit released!

    Quote Originally Posted by andopes View Post
    Hi Piperin

    Did you customize the Accounts views view.edit.php, view.detail.php and view.list.php?
    Your code seems correct!
    Best regards
    Where are view.edit.php, view.detail.php and view.list.php (directory)?
    I can't find files/

  2. #22
    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: Development Tool Kit released!

    Hi Piperin

    According to Opportunities.zip sample customization it is into custom/modules/Opportunities/views/
    Actually the rule is:
    1. If you want to implement the DevToolKit into a built in modules you should create the view into custom/modules/<ModuleName>/views/;
    2. If you want to implement it into a custom modules so you may create the views into modules/<ModuleName>/views/

    I'm going to update the User Guide to reflect this new information.
    These feedback are always welcome to keep both Tool and Documentation user friendly.

    Best regards
    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. #23
    shafique is offline Senior Member
    Join Date
    Mar 2009
    Location
    Pakistan
    Posts
    109

    Default Re: Development Tool Kit released!

    Hi!
    Please help me that what is the purpose of your new deplyment kit.
    I upload it and install and also make dropdwon lists .
    but where are the file where name will added for these dropdown lists.
    pls guid step by step if possible.
    thanks

  4. #24
    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: Development Tool Kit released!

    Hi Shafique

    Download both User Guide and Opportunities sample customization from Project Page.
    It is well documented how to proceed.

    The Purpose of the package at all: enable users to implement development feature in an easy to use way, without needing to understand so much. Actually the purpose is a ToolKit for non-developers implement advanced customization without development skills.

    The current release enable you to:
    1. Configure dependent dropdowns;
    2. Configure editable fields based on check box and dropdown values;
    3. Configure required fields based on check box and dropdown values.

    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.

  5. #25
    manolotri is offline Senior Member
    Join Date
    Apr 2009
    Posts
    44

    Default Re: Development Tool Kit released!

    Hi !!

    I have download the example of opportunities, I do all of ruchida's post says, and my views of opportunities are now in blank :S it's to say, if i click on opportunities module on my sugarcrm, a blank page is showed !! ¿?¿?
    I'm sure that i follow the steps correctly. any sugestion ?

    Thanks !!

  6. #26
    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: Development Tool Kit released!

    The DevToolKit had been working for hundreds users.
    Make sure you had followed both Opportunities sample customization and User Guide.
    Make sure you had added the code in the appropriate place over the files.

    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.

  7. #27
    Piperin is offline Member
    Join Date
    Jul 2008
    Posts
    10

    Default Re: Development Tool Kit released!

    Quote Originally Posted by andopes View Post
    Hi Piperin

    According to Opportunities.zip sample customization it is into custom/modules/Opportunities/views/
    Actually the rule is:
    1. If you want to implement the DevToolKit into a built in modules you should create the view into custom/modules/<ModuleName>/views/;
    2. If you want to implement it into a custom modules so you may create the views into modules/<ModuleName>/views/
    Best regards
    Thanks.
    But I have warring message like "Warning: Invalid argument supplied for foreach() in /var/www/sugarcrmtest/custom/include/utils/DevToolKit.php on line 72" before Edit and message like "Warning: Invalid argument supplied for foreach() in /var/www/sugarcrmtest/custom/include/utils/DevToolKit/DynamicDropdown.php on line 94" in Edit level.
    And my dependent dropdowns don't work.
    What could be wrong?
    Last edited by Piperin; 2009-05-05 at 01:49 PM.

  8. #28
    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: Development Tool Kit released!

    Let me know the content of the view.edit.php, view.detail.php and metadata files for the DevToolKit extensions.

    By the way.
    I had no time to upload the new release yesterday, I'm going to do that today.
    The New features on new version:
    1. Dynamic panels;
    2. Check for duplicate fields on database;

    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.

  9. #29
    Piperin is offline Member
    Join Date
    Jul 2008
    Posts
    10

    Default Re: Development Tool Kit released!

    Quote Originally Posted by andopes View Post
    Let me know the content of the view.edit.php, view.detail.php and metadata files for the DevToolKit extensions.
    I need dependent dropdown in Accounts module.

    sugarcrmtest/modules/Accounts/views:

    view.detail.php
    PHP Code:
    <?php
    if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');

         function 
    display(){
                    
            if(empty(
    $this->bean->id)){
                global 
    $app_strings;
                
    sugar_die($app_strings['ERROR_NO_RECORD']);
            }                
            
            
    $this->manager->display();
            
    $this->dv->process();
            global 
    $mod_strings;
            if(
    ACLController::checkAccess('Contacts''edit'true)) {
                
    $push_billing '<input class="button" title="' $mod_strings['LBL_PUSH_CONTACTS_BUTTON_LABEL'] . 
                                     
    '" type="button" onclick=\'open_contact_popup("Contacts", 600, 600, "&account_name=' .
                                     
    $this->bean->name '&html=change_address' .
                                     
    '&primary_address_street=' str_replace(array("\rn""\r""\n"), array('','','<br>'), urlencode($this->bean->billing_address_street)) . 
                                     
    '&primary_address_city=' $this->bean->billing_address_city 
                                     
    '&primary_address_state=' $this->bean->billing_address_state 
                                     
    '&primary_address_postalcode=' $this->bean->billing_address_postalcode 
                                     
    '&primary_address_country=' $this->bean->billing_address_country .
                                     
    '", true, false);\' value="' $mod_strings['LBL_PUSH_CONTACTS_BUTTON_TITLE']. '">';
                
    $push_shipping '<input class="button" title="' $mod_strings['LBL_PUSH_CONTACTS_BUTTON_LABEL'] . 
                                     
    '" type="button" onclick=\'open_contact_popup("Contacts", 600, 600, "&account_name=' .
                                     
    $this->bean->name '&html=change_address' .
                                     
    '&primary_address_street=' str_replace(array("\rn""\r""\n"), array('','','<br>'), urlencode($this->bean->shipping_address_street)) .
                                     
    '&primary_address_city=' $this->bean->shipping_address_city .
                                     
    '&primary_address_state=' $this->bean->shipping_address_state .
                                     
    '&primary_address_postalcode=' $this->bean->shipping_address_postalcode .
                                     
    '&primary_address_country=' $this->bean->shipping_address_country .
                                     
    '", true, false);\' value="' $mod_strings['LBL_PUSH_CONTACTS_BUTTON_TITLE'] . '">';
            } else {
                
    $push_billing '';
                
    $push_shipping '';
            }

            
    $this->ss->assign("custom_code_billing"$push_billing);
            
    $this->ss->assign("custom_code_shipping"$push_shipping);
            
            if(empty(
    $this->bean->id)){
                global 
    $app_strings;
                
    sugar_die($app_strings['ERROR_NO_RECORD']);
            }                
            echo 
    $this->dv->display();
         }     
    }

    ?>
    view.edit.php

    PHP Code:
    <?php
    if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');

    require_once(
    'include/MVC/View/views/view.edit.php');

    class 
    AccountsViewEdit extends ViewEdit {
        private 
    $manager;

        function 
    init($bean null$view_object_map = array()) {
            
    parent::init($bean$view_object_map);

            require_once(
    'custom/include/utils/DevToolKitManager.php');

            
    $this->manager = new DevToolKitManager($this);
        }

        function 
    display() {
            
    $this->manager->display();
            
    $this->ev->process();

            echo 
    $this->ev->display();
        }

        function 
    process() {
            
    parent::process();
            
    $this->manager->process();
        }
    }
    ?>
    view.list.php
    PHP Code:
    <?php
    if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');

    require_once(
    'include/MVC/View/views/view.list.php');

    class 
    AccountsViewList extends ViewList {
        private 
    $manager;

        function 
    init($bean null$view_object_map = array()) {
            
    parent::init($bean$view_object_map);

            require_once(
    'custom/include/utils/DevToolKitManager.php');

            
    $this->manager = new DevToolKitManager($this);
        }

        function 
    process() {
            
    $this->manager->process();
            
    parent::process();
        }
    }
    ?>
    sugarcrmtest/modules/Accounts/metadata (or it should be in sugarcrmtest/custom/modules/Accounts/metadata)

    update_dropdown_field_defs.php
    PHP Code:
    <?php
    $update_dropdown_field_defs 
    = array(
    'address_country_drop_c' => array(
            
    '' => array(
                    
    'address_city_drop_c' => '',
            ),
        ),
            
    '1' => array(
                    
    'address_city_drop_c' => 'address_city_drop_list',
            ),
        ),
    );
    ?>

  10. #30
    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: Development Tool Kit released!

    Hi guys

    It had been released the DevToolKit version 0.5!!
    Added features:
    Dynamic Panels;
    Duplicate Fields Validation;

    Let me know if you face any issue or identify any bug.

    kind regards
    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.

Page 3 of 24 FirstFirst 123456713 ... LastLast

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Translation Tool Help
    By amostafa in forum Translators
    Replies: 1
    Last Post: 2005-12-09, 12:22 AM
  2. Translation Tool
    By ruchida in forum Translators
    Replies: 15
    Last Post: 2005-09-02, 02:06 PM
  3. Translation tool
    By kiang in forum Developer Help
    Replies: 1
    Last Post: 2005-04-12, 08:16 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
  •