We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Structure: Different main nav for member groups

Development and Programming

Doug E's avatar
Doug E
98 posts
16 years ago
Doug E's avatar Doug E

I’m planning to use Structure to manage my site. The catch is, the main nav will be different for different members. Visitors without an account or a basic account will se one nav. Members who are approved to be part of the highest member group will see a different main nav.

The basic nav is very basic…just 3 static pages: About us What we do How to Join

The full nav will be different: Blog programs community resources Admin Tools

I was planning to set up Structure with the following as my parent ‘main nav’ entriess:

About (child entries will be main nav) -about us -What we do -How to Join Blog Programs (child entries will be a drop down list in the main nav) -core programs -short term projects -long term projects Community -member directory -calendar -forums Resources -wiki -links Admin Tools -account info -personnel

I imagine I could use a condition to say: If logged out then this structure code, if logged in then this code (starting with Blog)

Which tag will do that?

       
rockthenroll's avatar
rockthenroll
485 posts
16 years ago
rockthenroll's avatar rockthenroll

You can definitely do that, you’d probably use exclude_id or exclude_status to hide certain pages when logged out. If you use statuses clients can add pages anywhere and choose what level of access can see them.

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.