Hi,
To customize the navigation create a bare-bones app. In the ready() method unbind the links of the other apps.
from common import menu_main, menu_front_page
from folders.links import link_folder_list
# Remove "Folders" link from main menu
menu_main.unbind_links(
links=(link_folder_list,),
)
# Remove Trash link from home page
from documents.links import link_document_list_deleted
menu_front_page.unbind_links(
links=(
link_document_list_deleted,
)
)
# Add "New document" to main menu
from sources.links import link_document_create_multiple
menu_main.bind_links(
links=(link_document_create_multiple,),
)
The logic to bind a link to a menu is
menu_instance.bind_link(
links=<link instances list>,
source=<which classes of object or which views>
)
The logic to unbind a link is the same, only using the 'unbind' method.