PeopleVine

How do I control the navigation for the account menu?

When your users login to /account, they will be presented with an Account Menu that travels with them through every My Account screen.  The Account Menu is designed to automatically populate based on the activities people are involved with.  It currently holds links to:

  • My Profile - ability to edit their profile and password
  • My Company - if they are the contact for a business, they can access it here
  • Affiliate - if they are signed up as an affiliate, they can access it here
  • Events - if they are registered for an event, they can access it here
  • Appointments - if they are registered for an appointment, they can access it here
  • Gift Cards - if they have gift cards, they can access it here
  • Orders - if they placed an order, they can access it here
  • Subscriptions - if they are subscribed to something, they can access it here
  • Memberships - if they are a member, they can access it here
  • Offers - if they have available offers, they can access it here
  • Receipts - if they have processed a transaction, they can access it here
  • Loyalty - if they are a loyalty member, they can access it here

This navigation can be hidden by applying a css class to hide #navbar1.  

#navbar1 { display:none; }

You can also override the label for these by leveraging a little JavaScript or jQuery.  If you inspect, you will see the ID associated with the navigation item.  Simply adjust the value in your JavaScript code or layout:

<script>
if (curPath.startsWith('admin_')) {
  $("#adminNavBusinesses").html("Property Info");
  $("#adminNavEarnPoints").html("Select Rewards");
  $("#adminNavGiftCards").html("Gift Certificates");
  $("#adminNavMemberships").html("Membership");
}
</script>
Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.