Is the procedure for removing menus from the home page the same as it used 
to be? I had been removing the Tags menu, but at some point the code 
stopped working. The formerly-working code is:

from __future__ import unicode_literals

from django.utils.translation import ugettext_lazy as _

from common import MayanAppConfig

from common import menu_main
from folders.links import link_folder_list
from tags.links import link_tag_list

class HRCSBOverridesApp(MayanAppConfig):
    name = 'hrcsb_overrides'
    verbose_name = _('HRCSB Overrides')

    def ready(self):
        super(HRCSBOverridesApp, self).ready()

        # Remove "Tags" links from main menu
        menu_main.unbind_links(
            links=(link_tag_list,),
        )
mayan/apps/hrcsb_overrides/apps.py 

Thanks,
LeVon Smoker

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Mayan EDMS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to