• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.5 how do I use the "Popup Overlay" from "Contact Us" on another link??

zoldos

Well-known member
#1
I'm trying to use the "popup overlay" code from the Contact Us feature in XF's footer for a custom "Send PM" link in template "message_user_info". The popup works, but the background is transparent. How can I fix this? See below for a sample of the code I'm trying.

Code:
<a href="{xen:link conversations/add, '', 'to={$user.username}'}" class="OverlayTrigger" data-overlayOptions="{&quot;fixed&quot;:false}"><img src="images/pm.png"></a>
 

Chris D

XenForo developer
Staff member
#2
This isn't really possible.

Pages that are supposed to render in overlays are structured in a specific way to allow them to be rendered as such.