Legacy Knowledge Base
Published Jul. 2, 2025

Can I change the default Control Menu position to closed?

Written By

Isaac Wilson

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

Legacy Article

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

Issue

  • Is there a setting or configuration to have the left side Control Menu hidden by default when a user logs in on our site?

Environment

  • DXP 7.0
  • DXP 7.1
  • DXP 7.2

Resolution

  • There are no settings or configurations present to change the default Control Menu position.
  • However, it is possible to overwrite this default by creating a custom hook that replaces the out of the box view.jsp.

Additional Information

NOTE: This resolution requires customization and should only be implemented at the discretion of your team. Liferay Support will not be able to assist with designing or implementing customizations.

  • This Control Menu behavior is determined by an AUI method called sidenavToggle (defaulting to open), within the associated view.jsp in the com.liferay.product.navigation package,
    as seen here for 7.0, 7.1, and 7.2.
  • To alter the default position of the Control Menu to be collapsed upon user login, customize the sidenavToggle default call to be closed. 
  • More information on creating a custom hook or customizing content within the Control Menu can be found in the following Help Center articles:
Did this article resolve your issue ?

Legacy Knowledge Base