Can someone tell me what I am doing wrong when creating these subpanels? They are not showing up..

By clicking on the link you can download the package I created.

For some reasons the subpanels don't show up and I can't see what I am doing wrong.Subpanel.zip

Parents
  • Hi

    I am not an expert about this but I can see you have this: 

    <?php
    // created: 2018-04-03 06:34:15
    $viewdefs['Accounts']['base']['layout']['subpanels']['components'][] = array (
    'override_subpanel_list_view' =>
    array (
    'view' => 'subpanel-for-accounts_contacts_1',
    'link' => 'accounts_contacts_1',
    ),
    );

    And in a old proyect I have: 

    $viewdefs['Accounts']['base']['layout']['subpanels']['components'][]['override_subpanel_list_view'] = array (
    'link' => 'opportunities',
    'view' => 'subpanel-for-accounts-opportunities',
    );

    And this is an overriden subpanel too.

    I hope it helps you. 

    Regards

Reply
  • Hi

    I am not an expert about this but I can see you have this: 

    <?php
    // created: 2018-04-03 06:34:15
    $viewdefs['Accounts']['base']['layout']['subpanels']['components'][] = array (
    'override_subpanel_list_view' =>
    array (
    'view' => 'subpanel-for-accounts_contacts_1',
    'link' => 'accounts_contacts_1',
    ),
    );

    And in a old proyect I have: 

    $viewdefs['Accounts']['base']['layout']['subpanels']['components'][]['override_subpanel_list_view'] = array (
    'link' => 'opportunities',
    'view' => 'subpanel-for-accounts-opportunities',
    );

    And this is an overriden subpanel too.

    I hope it helps you. 

    Regards

Children