Main menu background toggle

When user log in the person land on page People and the background of the current pages name is highlighted in white. When clicking the page Places to the right of the word People, the page People name background is gone, but the new page name Places name is not highlighted as it should. What am I missing and what do I need to do to make it work not only for the first page, but for all pages?

Set a custom state on the page where your buttons are and call the custom state Category , set its type to Category_main. In the conditional tab of the People button, add a condition: “When the page’s Category_main is People”, then set the background to white and the font color to green. In the button’s workflow, update the state accordingly. Repeat this setup for the Places button.

A different approach would be stick to the current system you have in place, i.e. using data from the URL string to discern which menu you are in.

You’ll have to check why the conditional isn’t evaluating to true for the second RG’s cell. One of the following might be the culprit

  1. URL item doesn’t exist
  2. If it exists, a capitalized version of it isn’t equal to Current cell's Category_main's Display.

This topic was automatically closed after 70 days. New replies are no longer allowed.