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

Fixed Contact URL Overlay

Discussion in 'Resolved Bug Reports' started by xf_phantom, Jun 30, 2013.

  1. xf_phantom

    xf_phantom Well-Known Member

    The new? option to open the contact url as overlay doesn't work, because xenforo overlays AFAIK doesn't support external urls.
    And this option would make IMO only sense for external urls, or?
  2. Jeremy

    Jeremy Well-Known Member

    I'm fairly sure that the option is designed so you can open an internal page as an overly, but shouldn't really be checked for non-internal pages.
    James likes this.
  3. James

    James Well-Known Member

    There's not much you can do, really, aside from analyse the URL to see if it's external or not.

    Perhaps just a notice stating that only internal URLs can open as an overlay.
  4. Chris D

    Chris D XenForo Developer Staff Member

    In some ways, that's not necessarily true.

    It's not unfeasible for an external URL to be used. Your contact form could hosted on another XenForo site - or an entirely custom externally hosted one. As long as the output HTML is the right format to satisfy the overlay requirements it will load correctly.

    Simplest example is, set your contact form to http://xenforo.com/contact and choose the overlay option...

    It actually doesn't work due to cross-domain AJAX security -- but that's just a configuration issue. But there's definitely reasons why you might use an external URL for a contact form.
  5. Kier

    Kier XenForo Developer Staff Member

    I added a note to the option saying that the overlay option will most likely only work with internal URLs.
    Jeremy and Chris D like this.

Share This Page