Hi, I upgreded 5.5 -> 6.1, Also I installed a ModerAqua theme.
After that I lost a "create" buttons inside modules.
Plese help me, Where I must dig?
Hi, I upgreded 5.5 -> 6.1, Also I installed a ModerAqua theme.
After that I lost a "create" buttons inside modules.
Plese help me, Where I must dig?
Does this buttons exist before install ModerAqua theme?
Be sure that ModerAqua is developed for SugarCRM 6.x
Letrium ltd. - Only high quality service
http://letrium.com
YES! This buttons was present! But I am not shure that I not change smth else in my modules... ((( Generally reason for updating was in studio problems, but now everythink is ok, except "create" button. Can you explain what i must check?
The ModerAqua is theme for 6.X now. This theme helps to escape some "classic" theme problems.
http://www.sugarforge.org/projects/modernaqua/
I found a file
I edit this files earlier, for hide select button and now I see my old files. But create button is uncommented and sellect button is commented!support1:/var/www/crm/modules/pm1_uved/metadata/subpanels# cat ./default.php
<?php
$module_name='pm1_uved';
$subpanel_layout = array (
'top_buttons' =>
array (
0 =>
array (
'widget_class' => 'SubPanelTopCreateButton',
),
// 1 =>
// array (
// 'widget_class' => 'SubPanelTopSelectButton',
// 'popup_module' => 'pm1_uved',
// ),
),
'where' => '',
'list_fields' =>
array (
'n_uved_kga' =>
array (
'type' => 'varchar',
'vname' => 'LBL_N_UVED_KGA',
'width' => '10%',
'default' => true,
),
'receive_date' =>
array (
'type' => 'date',
'vname' => 'LBL_RECEIVE_DATE',
'width' => '10%',
'default' => true,
),
'date_entered' =>
array (
'type' => 'datetime',
'vname' => 'LBL_DATE_ENTERED',
'width' => '10%',
'default' => true,
),
'edit_button' =>
array (
'widget_class' => 'SubPanelEditButton',
'module' => 'pm1_uved',
'width' => '4%',
'default' => true,
),
'remove_button' =>
array (
'widget_class' => 'SubPanelRemoveButton',
'module' => 'pm1_uved',
'width' => '5%',
'default' => true,
),
),
Check subpaneldefs.php in the module which screen-shot you show.
Letrium ltd. - Only high quality service
http://letrium.com
This file is contains only in directories where located standart modules.
ok, then check layoutdefs.php in the custom or module directory
Letrium ltd. - Only high quality service
http://letrium.com
Also I am not found this file in <sugar>/modules/<my_module> & <sugar>/custom/modules/<my_module>.
But I found
layoutdefs.ext.php
in
support1:/var/www/crm/custom/modules/pm1_project_by_is/Ext/Layoutdefs
This is a big file, thus I post a latest notes:
start
....
// created: 2010-05-26 15:53:51
$layout_defs["pm1_project_by_is"]["subpanel_setup"]["pm1_accounting_pm1_project_by_is"] = array (
'order' => 100,
'module' => 'pm1_accounting',
'subpanel_name' => 'default',
'sort_order' => 'asc',
'sort_by' => 'id',
'title_key' => 'LBL_PM1_ACCOUNTING_PM1_PROJECT_BY_IS_FROM_PM1_ACC OUNTING_TITLE',
'get_subpanel_data' => 'pm1_accounting_pm1_project_by_is',
'top_buttons' =>
array (
0 =>
array (
'widget_class' => 'SubPanelTopCreateButton',
),
0 =>
array (
'widget_class' => 'SubPanelTopSelectButton',
'mode' => 'MultiSelect',
),
),
);
// created: 2010-05-26 15:53:52
$layout_defs["pm1_project_by_is"]["subpanel_setup"]["pm1_oko_kis_pm1_project_by_is"] = array (
'order' => 100,
'module' => 'pm1_oko_kis',
'subpanel_name' => 'default',
'sort_order' => 'asc',
'sort_by' => 'id',
'title_key' => 'LBL_PM1_OKO_KIS_PM1_PROJECT_BY_IS_FROM_PM1_OKO_KI S_TITLE',
'get_subpanel_data' => 'pm1_oko_kis_pm1_project_by_is',
'top_buttons' =>
array (
0 =>
array (
'widget_class' => 'SubPanelTopCreateButton',
),
0 =>
array (
'widget_class' => 'SubPanelTopSelectButton',
'mode' => 'MultiSelect',
),
),
);
// created: 2010-05-26 15:53:52
$layout_defs["pm1_project_by_is"]["subpanel_setup"]["pm1_tgo_pm1_project_by_is"] = array (
'order' => 100,
'module' => 'pm1_TGO',
'subpanel_name' => 'default',
'sort_order' => 'asc',
'sort_by' => 'id',
'title_key' => 'LBL_PM1_TGO_PM1_PROJECT_BY_IS_FROM_PM1_TGO_TITLE' ,
'get_subpanel_data' => 'pm1_tgo_pm1_project_by_is',
'top_buttons' =>
array (
0 =>
array (
'widget_class' => 'SubPanelTopCreateButton',
),
0 =>
array (
'widget_class' => 'SubPanelTopSelectButton',
'mode' => 'MultiSelect',
),
),
);
// created: 2010-05-26 15:53:52
$layout_defs["pm1_project_by_is"]["subpanel_setup"]["pm1_oko_topo_pm1_project_by_is"] = array (
'order' => 100,
'module' => 'pm1_oko_topo',
'subpanel_name' => 'default',
'sort_order' => 'asc',
'sort_by' => 'id',
'title_key' => 'LBL_PM1_OKO_TOPO_PM1_PROJECT_BY_IS_FROM_PM1_OKO_T OPO_TITLE',
'get_subpanel_data' => 'pm1_oko_topo_pm1_project_by_is',
'top_buttons' =>
array (
0 =>
array (
'widget_class' => 'SubPanelTopCreateButton',
),
0 =>
array (
'widget_class' => 'SubPanelTopSelectButton',
'mode' => 'MultiSelect',
),
),
);
is it correct, that "top_buttons" array cosists two records, they is both started with "0 =>" ????
I change
'top_buttons' =>
array (
0 =>
array (
'widget_class' => 'SubPanelTopCreateButton',
),
0 =>
array (
'widget_class' => 'SubPanelTopSelectButton',
'mode' => 'MultiSelect',
),
TO
in'top_buttons' =>array (
array ('widget_class' => 'SubPanelTopCreateButton'),
),
support1:/var/www/crm/custom/Extension/modules/pm1_project_by_is/Ext/Layoutdefs/is_project_module.php
and the create button is appear!!! It's look great, but this is auto-generated file! How i can do my changes by the correct way?
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks