2022-11-26, 12:37 AM
Hey Hey
I am currently working on my user cp and have split the profile fields into different pages. Each of the areas now has its own link and it all works perfectly.
Now though, I'd like to hide/show some of these links based on what you've selected in a specific profile panel that's accessible to all.
My menu roughly looks like this:
- General
-- ABC (hidden)
-- DEF (hidden)
-- GHI (hidden)
- Anything
If you now select the value Y in Field X under General, the link for ABC should be visible after saving. Basically, an if query should be enough for this, but I have no idea how I can address individual, specific profile fields... if that even works at all.
Maybe someone has an idea or solution.
Thank you <3
I am currently working on my user cp and have split the profile fields into different pages. Each of the areas now has its own link and it all works perfectly.
Now though, I'd like to hide/show some of these links based on what you've selected in a specific profile panel that's accessible to all.
My menu roughly looks like this:
- General
-- ABC (hidden)
-- DEF (hidden)
-- GHI (hidden)
- Anything
If you now select the value Y in Field X under General, the link for ABC should be visible after saving. Basically, an if query should be enough for this, but I have no idea how I can address individual, specific profile fields... if that even works at all.
Maybe someone has an idea or solution.
Thank you <3