Results 1 to 7 of 7

Thread: Old School Sugar guys

  1. #1
    Meyer is offline Sugar Community Member
    Join Date
    Oct 2006
    Location
    south africa
    Posts
    646

    Question Old School Sugar guys

    Hi there

    we have sugar 4.5.1e. Yes i know its old and and and. We are ugrading next year but for now i needed to create 5 new modules. Again the emphisas on i am not a programmer but can follow instructions or guidlines.

    so i used olavo module builder ver 5b. Seems to work well exept for 2 things.
    1. When you try to create the module it cannot relate to activities, tasks etc. I need to relate to history and tasks.

    2. When you define the subpanels etc, everything goes well. the installation even shows the related modules subpanels. but when you click on create a new record. it lest you create one and save. the record is then written to the db but a relationship is not made with the module. you now have to click on the subanel select button. go search for the record and link it this way. How do i fix this?

    ragrad

    Paul

  2. #2
    ros.vol is offline Sugar Community Member
    Join Date
    Dec 2008
    Location
    Eastern Europe / Ukraine / Chernivtsi
    Posts
    114

    Smile Re: Old School Sugar guys

    Hello,

    2) What type of relationship do you use?
    Rostyslav Volonchuk

    SugarCRM development and customizations

  3. #3
    Meyer is offline Sugar Community Member
    Join Date
    Oct 2006
    Location
    south africa
    Posts
    646

    Default Re: Old School Sugar guys

    layout defs

    $layout_defs['BrandedCars']['subpanel_setup']['agents'] = array(
    'order' => 630,
    'module' => 'Agents',
    'subpanel_name' => 'default',
    'override_subpanel_name' => 'agents',
    'get_subpanel_data' => 'agents',
    'add_subpanel_data' => 'agent_id',
    'title_key' => 'LBL_AGENTS_SUBPANEL_TITLE',
    'top_buttons' => array(
    array('widget_class' => 'SubPanelTopButtonQuickCreate'),
    array('widget_class' => 'SubPanelTopSelectButton'),
    )
    );

    This is in cutom/modules/branded_cars. this was an old module. new module is agents. there is a db rel called
    brandedcars_agents
    Fields in the table -
    id
    brandedcar_id
    agent_id
    date_modified
    deleted
    Last edited by Meyer; 2009-10-19 at 12:00 PM. Reason: new info

  4. #4
    ros.vol is offline Sugar Community Member
    Join Date
    Dec 2008
    Location
    Eastern Europe / Ukraine / Chernivtsi
    Posts
    114

    Smile Re: Old School Sugar guys

    I meant type of relationship like : "one-to-many" or "many-to-many".

    What type of relationship did you use?
    Rostyslav Volonchuk

    SugarCRM development and customizations

  5. #5
    Meyer is offline Sugar Community Member
    Join Date
    Oct 2006
    Location
    south africa
    Posts
    646

    Default Re: Old School Sugar guys

    heh

    sorry.

    It does a many to many.

  6. #6
    Meyer is offline Sugar Community Member
    Join Date
    Oct 2006
    Location
    south africa
    Posts
    646

    Default Re: Old School Sugar guys

    anybody? should i upload the module?
    Attached Files Attached Files

  7. #7
    Meyer is offline Sugar Community Member
    Join Date
    Oct 2006
    Location
    south africa
    Posts
    646

    Default Re: Old School Sugar guys

    Really? no one?

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 8
    Last Post: 2008-07-12, 06:13 PM
  2. Replies: 0
    Last Post: 2006-02-13, 11:57 AM
  3. says path not found!!! plz help guys..
    By aashish in forum Help
    Replies: 1
    Last Post: 2006-01-31, 12:26 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
  •