Skip to content

Commit aaf7e59

Browse files
committed
[IMP] website: hide a dynamic menu to headers and footers
task-5003509
1 parent bb4b5d7 commit aaf7e59

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

content/applications/websites/website/structure/header_footer.rst

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,3 +167,22 @@ section of the :guilabel:`Customize` tab in the website editor:
167167
- Hide or show the footer by toggling the :guilabel:`Page visibility` switch.
168168

169169
To finalize changes, click on :guilabel:`Save`.
170+
171+
Hide a dynamic menu item for non-logged in users
172+
================================================
173+
174+
To hide a dynamic menu item (i.e., a menu item generated automatically by Odoo, for example, when
175+
you install an app or module, such as `Events`, `Courses`, etc.) for non-logged in users, follow
176+
these steps:
177+
178+
#. :ref:`Enable developer mode <developer-mode>`.
179+
#. Go to :menuselection:`Website --> Configuration --> Menus`.
180+
#. Expand the list of menus for the relevant website if needed, then click the menu item you wish to
181+
hide.
182+
#. In the :guilabel:`Visible Groups` section, click :guilabel:`Add a line` under
183+
:guilabel:`Group Name`.
184+
#. Search for the group :guilabel:`User types / Portal`, select it, then click :guilabel:`Select`.
185+
#. Save.
186+
187+
.. tip::
188+
To hide the `Shop` menu item, :doc:`restrict ecommerce access to logged-in users <../../ecommerce/customer_accounts>`.

0 commit comments

Comments
 (0)