[Vtigercrm-developers] New Module doesn't appear in corresponding Menu
Juan Pablo Botero
juanpabloboterolopez at gmail.com
Fri Aug 17 23:41:40 PDT 2012
Hi all.
I made a new Module called 'Beneficiarios' with vtlib, so, i putted in in
Menu 'Sales' but it doesn't appear there, the new module is showed next to
the Menu. The code i use is:
$moduleInstance = new Vtiger_module();
$moduleInstance->name = 'Beneficiarios';
$moduleInstance->save();
$moduleInstance->initTables();
$menu = Vtiger_Menu::getInstance('Sales');
$menu->addModule($moduleInstance);
Is there any wrong in code?
Thanks.
--
Cordialmente:
Juan Pablo Botero
Administrador de Sistemas informáticos
Fedora Ambassador for Colombia
http://www.jpilldev.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20120818/b51b047b/attachment.html
More information about the vtigercrm-developers
mailing list