Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: How to hide side menu on login and when refreshing the page.
Hello,
I want to disable auto popup menu when logging in with admins credentials and also disable it when refreshing the page.
I am using custom theme, i tried to search <@liferay.control_menu/> in portal_normal.ftl but not found.
I am attaching the image below.
As you mention "side menu", you're likely referring to the Product Menu. ControlMenu is the one on top. Here's a reference.
To hide it, simply don't provide the permissions.
As you state that you want to hide it with admin permissions: You'd need to come up with an alternative solution to reach the admin controls - if that's worth it to you, you're looking at a lot of work.
Follow best practices and just don't log in with admin permissions if you don't need them.
Powered by Liferay™