Results 1 to 1 of 1

Thread: module builder change template from file to basic.

  1. #1
    hiko is offline Sugar Community Member
    Join Date
    Aug 2008
    Posts
    117

    Question module builder change template from file to basic.

    Hi,

    I have created module from module builder in sugar 6.4.

    I have choose File template when creating new module.

    I want to change module template from File to Basic.

    Any idea?


    OR

    I have one (File module) to many (Basic module) relationship.

    Select box option of File module select document_name field instead of custom field.

    document_name is name field in File module template and used in relationship rname.

    I want to use custom field name instead of document_name here 'rname' => 'document_name',

    Code:
    $dictionary["test_basic"]["fields"]["test_basic_test_file_name"] = array (
      'name' => 'test_basic_test_file_name',
      'type' => 'relate',
      'source' => 'non-db',
      'vname' => 'LBL_TEST_BASIC_TEST_FILE_FROM_TEST_FILE_TITLE',
      'save' => true,
      'id_name' => 'test_basic_test_filetest_file_ida',
      'link' => 'test_basic_test_file',
      'table' => 'test_file',
      'module' => 'test_file',
      'rname' => 'document_name',
    );

    -Thanks
    Last edited by hiko; 2013-04-25 at 07:41 AM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 6
    Last Post: 2011-03-24, 04:47 PM
  2. Module Builder - File Template Undefined Labels
    By Sld in forum Developer Help
    Replies: 0
    Last Post: 2009-11-22, 01:48 PM
  3. Replies: 0
    Last Post: 2009-05-12, 02:17 PM
  4. Basic Module Template
    By jp in forum Developer Help
    Replies: 1
    Last Post: 2004-11-16, 03:57 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
  •