XF 2.2 How do you activate a specific tab within a modal

Ian Hitt

Well-known member
Specifically, we would like to make the reactions summary modal show a specific tab as active when the modal is opened. Is there a way to do that?
 
Using the browser inspector, the template is reaction_list, so you should be able to edit that to change the is-active tab.

I actually want to change the tab based on having different triggers. For example, I want to be able to active the Like tab when likes is clicked, and the Love tab when loves is clicked. So different tab, depending on what was clicked to open the modal.
 
Top Bottom