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

Fixed Contact URL Overlay

xf_phantom

Well-known member
#1
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?
bug1.png
 

Jeremy

Well-known member
#2
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

Well-known member
#3
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.
 

Chris D

XenForo developer
Staff member
#4
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.