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

XF 1.4 Embedding forum in an external site

Discussion in 'Troubleshooting and Problems' started by otfordnet, Sep 30, 2014.

  1. otfordnet

    otfordnet Member

    Previously I have been able to embed XenForo using an IFRAME statement e.g. www.DuntonGreen.info
    <iframe name="main" src="http://www.sevenoaksforum.com/forums/dunton-green.25/" height="2200" width="100%" frameborder="0" scrolling="auto"></iframe>
    but have recently updated to 1.4. and noticed no longer working. Chrome gives a blank page and IE shows
    This content cannot be displayed in a frame

    Looking through the forums found references to clickjacking and config.php .. tried adding
    $config['enableClickjackingProtection'] = 'false';
    but still no joy.
    Any ideas?
  2. Mike

    Mike XenForo Developer Staff Member

    That's the right line to add but you have to remove the single quotes around "false".
    otfordnet likes this.
  3. otfordnet

    otfordnet Member

    Did the job .. many thanks Mike :)

Share This Page