XF 2.2 Toggle question


Well-known member
Is there a way to check what toggle ID or storage key is used and then display content? I'm trying to show different content when a toggle is switched on or off. I've done this via CSS but atm it displays both contents and then with css, hides one and the other. Can someone advise me whether this is possible or if there is a better approach?

Thank you

Edit: got it.
Last edited:
Hi Joyfreak, could you please share your solution as I am trying to do something similar I think.
  • Like
Reactions: Lee
Top Bottom