Hi all,
I am newly in Sugar CRM and I'm reading manuals and doing little things to try it. My question is how to create and install a new chart in the application. I followed the instructions in the Developer Guide manual, but it is not very detailed or I don´t learn.
I had copied a default chart in the application, change a couple of little things and I tried to install with Module Loader but I'm not sure if the structure of the zip and manifest.php is correct.
The structure of the zip is:
-manifest.php
-modules/Charts/Dashlets/PruebaDashlets
PruebaConfigure.tpl
PruebaDashlet.data.php
PruebaDashlet.en_us.lang.php
PruebaDashlet.meta.php
PruebaDashlet.php
The content of manifest.php
Once I make a module installed, I do Sugar Dashlets Rebuilt from the Admin screen and then attempt to add the chart in the Dashboard or Home module with the Add Sugar Dashlet button but the new chart is not available. Someone can point to me that I'm doing wrong or what are the steps to take to create a new chart and install it with Module Loader?PHP Code:<?php
$manifest = array(
'acceptable_sugar_flavors' => array(
'CE',
'PRO',
'ENT',
),
'acceptable_sugar_versions' => array(
'5.2.0', '5.5.0',
),
'is_uninstallable' => true,
'name' => 'Chart de prueba',
'description' => 'Chart de prueba',
'author' => 'agey',
'published_date' => '2009/11/19',
'version' => '1.0',
'type' => 'module',
'icon' => '',
);
$installdefs =
array( 'id'=> 'prueba',
'Dashlets'=> array(
array('name' => 'Prueba',
'from' => '<basepath>/modules/Charts/Dashlets/PruebaDashlet',
),
),
);
?>
Thank you very much,


LinkBack URL
About LinkBacks



Reply With Quote
Bookmarks