[Vtigercrm-developers] vtlib Vtiger_Menu::getInstance not working in 5.4.0
Asha
asha at vtiger.com
Tue Apr 24 09:03:52 PDT 2012
Hi Alan,
Entries from vtiger_parenttab are no more used, so are the values from
parent_tabdata.php file.
vtiger_tab table schema has changed and a newly column has been added
called 'parent'. The value from this column is picked to identify the
category.
On Tue, Apr 24, 2012 at 7:27 PM, Alan Lord (News) <alanslists at gmail.com>wrote:
>
>
> Just for completeness I have also tried regenerating the tabdata &
> parent_tabdata.php files by calling the
> perform_post_migration_activities(); function in CommonUtils.php but new
> menu items are still not being "attached" to the title.
>
> On 24/04/12 14:15, Alan Lord (News) wrote:
> > Has the change to the menu layout in 5.4.0 caused the vtlib functions
> > for menu assignment to change at all?
> >
> > I am calling
> >
> > $menuInstance = Vtiger_Menu::getInstance('Tools');
> > $menuInstance->addModule($module);
> >
> > from my module creation code but my menu items are appearing in their
> > own column on the left of the "More" dropdown without a Title.
> >
> > Looking the vtiger_parenttabrel table though, when I create a new module
> > and execute the above code, the correct parenttabid, tabid& sequence
> > fields are filled in. SP perhaps this is a problem with the new menu
> > display code rather than vtlib?
> >
> > Ideally I'd like to create a new Menu group to hold my custom modules
> > but I can't see a feature in the vtlib Menu.php code to create a new
> parent.
> >
> > Thanks
> >
> > Al
> >
>
>
> --
> Libertus Solutions
> http://www.libertus.co.uk
>
> _______________________________________________
> http://www.vtiger.com/
>
--
Regards,
Asha
vtiger Team
*Connect with us on: *Twitter <http://twitter.com/#%21/vtigercrm> *I*
Facebook <http://www.facebook.com/pages/vtiger/226866697333578?sk=wall> *I*
Blog <http://blog.vtiger.com/>* I*
Wiki<http://wiki.vtiger.com/index.php/Main_Page>
*I *Forums <http://forums.vtiger.com/>*I* Website <http://vtiger.com/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20120424/9d6cbf5d/attachment.html
More information about the vtigercrm-developers
mailing list