Hello everyone
There is something strange with top menu and I can’t tell if it’s a feature for ergonomy or a bug.
In my “Configuration” tab, I’m only supposed to have
- “PDF - modèles”
- “Modèle d’email”
but in this case, I have “Comptes” too because this is the last module i used
If I use module “Modèle d’email”, you can see that it appears to in my “Ventes” tab now
How can I prevent this behavior?
Thanks for your time
Hi,
This is the suitecrm behaviour that recently visited module will get listed in every of tab as one of the submenu.
To prevent this (not listing the last visited module in every tab), make changes in below file path,
File path - themes/SuiteP/tpls/_headerModuleList.tpl
Line Number ;- 275
change that code:-
{foreach from=$modules.modules item=module key=modulekey}
{capture name=moduleTabId assign=moduleTabId}moduleTab_{$smarty.foreach.moduleList.index}_{$module}{/capture}
{sugar_link id=$moduleTabId module=$modulekey data=$module extraparams=$extraparams}
{/foreach}
to below code:-
{foreach from=$modules.modules item=module key=modulekey}
{if $modulekey != $name}
{capture name=moduleTabId assign=moduleTabId}moduleTab_{$smarty.foreach.moduleList.index}_{$module}{/capture}
{sugar_link id=$moduleTabId module=$modulekey data=$module extraparams=$extraparams}
{/if}
{/foreach}
Hope above is helpful to you
1 Like
It works perfectly thank you