1. 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??

Discussion in 'Styling and Customization Questions' started by zoldos, Jan 29, 2016.

  1. zoldos

    zoldos Well-Known Member

    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.

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

    Chris D XenForo Developer Staff Member

    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.
  3. zoldos

    zoldos Well-Known Member

    Okay, thanks anyway! :)

Share This Page