
Originally Posted by
andydreisch Q&A is as follows:
Is it possible to create multiple versions of subpanels that will show up different sets of functions based on user's role? Not at this and I'll check with Egr Yep but you are resetting the values only. How to make change of labels on the page in upgrade_safe manner when renaming tab? F.e. if I rename Account to Client I want to change terminology on account page to reflect this change.
[Sadek addressed this during the session. I'll ask him to repeat it here.]
This is actually very simple. In any module extended language definitions, which are loaded with the module (see the example forums module in the modules/Accounts/en_us.lang.php), you can override any module's standard labels by using the same array index as the standard label.

Originally Posted by
andydreisch Q&A is as follows:[b]
I have a question regarding the manifest and DEinstalling of a module. When doing some additions to the dashboard, I noticed that Sugar will cache the once loaded dashboards in the database. When you deinstall the module this will give problems. What would be the cleanest way to clear the database cvache on deinstall;?
[Sadek also touched on this during the call. He'll respond here.]
In 4.5.1, we have a 'pre_uninstall' and 'post_uninstall' check within the manifest.php that allows you to execute custom scripts when uninstalling a module. If you would like to clear the chart cache, you could create a script with the code below and reference it with a 'post_uninstall' array in the manifest.php
Code:
<?
require_once('modules/Administration/clear_chart_cache.php');
?> This will clear the chart cache after uninstalling and prevent the error from ocurring.
Bookmarks