Notifications
Announcements
For example, the site has the below nav items, how to hide the ones in red box before sign in, and show these hidden nav items after sign in? Please provide some detailed steps if possible, thanks.
@jwnz In the header template you can use Liquid to hide blocks by checking the user object.
{%if user%} enable your nav HTML here {%endif%}
@
Hi @jwnz
Please follow the instructions from @eugenevanstaden . You can use liquid to build dynamic content. In addition, there is also a way to use the web page access control rule. Closely related to your query.
https://ragavanrajan.medium.com/power-pages-how-to-hide-profile-page-for-custom-web-roles-3ed5de54d704
You can tweak the logic as per your need.
Hope it helps. ------------
If you like this post, give it a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users to find it.
If you're concerned about security you should use access control rules.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Jerry-IN 71
Fubar 62 Super User 2025 Season 2
sannavajjala87 31