I’m trying to simplify the user profile pages to only show relevant information. I know there’s an easy way to hide the legend as a whole (or individual items) through CSS.
I’m wondering if there are other options, such as only showing the legend items that pertain to the users orders – e.g., if the user only has one order which is pending payment, only show that item in the coloured legend. So basically a conditional legend based on user activity.
Let me know if this is feasible / what my options might be here.
Whilst there is a filter that allows you to change the legend items:
FHEE__status-legend-espresso_my_events__legend_items
(Example showing how to add a legend item HERE)
Doing so dynamically for the current registrations is going to be really tricky, you’ll need to at least duplicate the query used by the add-on to pull the current registrations and then loop over them all to check the status to know what to remove from the current items.
In short, possible, but not easily/cleanly.
Viewing 1 reply thread
The support post ‘User Profiles – legend’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.