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: 7.2 A1 - Show / Hide Page From Navigation Semantic Label Error
This option which was missing in 7.1 hasn't been restored as expected when looking at 7.0 UX. In 7.0 adding a page offered the option to hide it from the navigation "portlet" (menu), it was always still visible in the page hierarchy. In 7.1 the option was removed. Adding it back in 7.2 has changed again the perceprtion of what this functionality actually does.
Expected
The field label should be clear. This toggle should not affect the visibility of the page in the page hierarchy (which it corerctly does). This toggle should only prevent the page from appearing in navigation menus (which it correctly does). The tooltip should state that when toggled off the page is hidden from navigation, the label should not speak to page hierarchy. It has been restored backwards also.
Or change it back to how it was in 7.0 wholesale
1) Label should say "Hide from navigation menus"
2) Toggle should be defaulted to No
3) Tooltip should say "If enabled this page does not show up in navigation menus".
Actual
The tooltip is correct, the field label is not correct. "Navigation menus" and "page hierarchy" are different things.
.
.
.
Note: The Miller Coumns is not a navigation menu, the navigation menu for site admins has been removed.
Expected
The field label should be clear. This toggle should not affect the visibility of the page in the page hierarchy (which it corerctly does). This toggle should only prevent the page from appearing in navigation menus (which it correctly does). The tooltip should state that when toggled off the page is hidden from navigation, the label should not speak to page hierarchy. It has been restored backwards also.
Or change it back to how it was in 7.0 wholesale
1) Label should say "Hide from navigation menus"
2) Toggle should be defaulted to No
3) Tooltip should say "If enabled this page does not show up in navigation menus".
Actual
The tooltip is correct, the field label is not correct. "Navigation menus" and "page hierarchy" are different things.
.
.
.
Note: The Miller Coumns is not a navigation menu, the navigation menu for site admins has been removed.
Hey Lee,
Thanks for bringing this up.
First, the reason why we have flipped the meaning is because a general good practice for binary (boolean) options is to state them in positive terms. So "Show" is generally better than "Hide". We were not consistent with this in Liferay and we are trying to fix that.
Second, regarding the acual meaning of the label, I understand how it can be confusing and I'd be happy to change it to some thing that is more clear. Based on your suggestion we could make it "Show in navigation menu widget". However, that is not entirely accurate. This is only true when the navigation menu widget is configured to show the "Pages Hierarchy Menu", which is why the field has the label it has.
The only solution I can think of is to make the explanation more clear and say: "If disabled, this page does not show up in a Navigation menu widgets when configured to display the Page Hierarchy menu".
What do you think? Any other proposal?
Thanks for bringing this up.
First, the reason why we have flipped the meaning is because a general good practice for binary (boolean) options is to state them in positive terms. So "Show" is generally better than "Hide". We were not consistent with this in Liferay and we are trying to fix that.
Second, regarding the acual meaning of the label, I understand how it can be confusing and I'd be happy to change it to some thing that is more clear. Based on your suggestion we could make it "Show in navigation menu widget". However, that is not entirely accurate. This is only true when the navigation menu widget is configured to show the "Pages Hierarchy Menu", which is why the field has the label it has.
The only solution I can think of is to make the explanation more clear and say: "If disabled, this page does not show up in a Navigation menu widgets when configured to display the Page Hierarchy menu".
What do you think? Any other proposal?
My only suggestion on this impasse is to flip it back to hide. How in the world does this work with an upgrade? If the page is set to hidden (the toggle is on) ... Are thousands of pages suddenly going to become hidden?
This is a needless change.
I'm personally not against change. I don't think there is a strong case that this need to be flipped around to "show". It's not clearer. Please restore the feature correctly like for like as it was in 7.0.
The obvious way forward would have been to have kept the toggle as it was just changed the word navigation to "page heiracy" and added a second toggle to hide it from being selectable for navigation menus.
The feature was deleted so at some point Liferay thought this wasn't important (and why not just rename page heiracy to automated navigation). It's the user experience that should be the most important part of DXP.
I can't as a contractor come into your house and flip all your light switches upside down and claim I made your life less confusing.
7.0 users have been forgotten it's a shame.
This is a needless change.
I'm personally not against change. I don't think there is a strong case that this need to be flipped around to "show". It's not clearer. Please restore the feature correctly like for like as it was in 7.0.
The obvious way forward would have been to have kept the toggle as it was just changed the word navigation to "page heiracy" and added a second toggle to hide it from being selectable for navigation menus.
The feature was deleted so at some point Liferay thought this wasn't important (and why not just rename page heiracy to automated navigation). It's the user experience that should be the most important part of DXP.
I can't as a contractor come into your house and flip all your light switches upside down and claim I made your life less confusing.
7.0 users have been forgotten it's a shame.
Copyright © 2025 Liferay, Inc
• Privacy Policy
Powered by Liferay™