XF 2.2 Terms and Rules Query

  • Thread starter Thread starter Deleted member 745
  • Start date Start date
D

Deleted member 745

Guest
Hi,

How come if I make a custom, php page it loads fine if I load it direct. But if I use the terms link in the footer with the popup code.

data-xf-click="overlay"
I get an error, see below.

Untitled-2.webp
and it loads fine if I load direct on browser without the overlay.
Untitled-1.webp
 
Sorry your miss-understanding me, I'm wanting to get a custom.php (non XenForo page) file to popup but the data-xf-click="overlay" will not allow it as it shows an error.

Example if I add this on the XenForo footer it shows an error.
<li><a href="terms-of-service.php" data-xf-click="overlay">Terms of Service</a></li>
 
Back
Top Bottom