Other Overlay/Popup/Modal on button click

Joe Link

Well-known member
This is really simple, I just can't figure it out 😵

We have a button that locks and unlocks threads (which works as it should). When that button is clicked to lock a thread I want a native XF overlay/popup/modal to pop up with the contents of a template.

Shoot me a convo :)
 

AddonFlare

Well-known member
If it’s a <xf:button> tag, add:
overlay=“true” to it

If it’s a normal link <a> tag, add:
data-xf-click=“overlay” to it
 
Top