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

XF 1.1 Banner via php include?

Discussion in 'XenForo Questions and Support' started by twollert, Dec 4, 2011.

  1. twollert

    twollert Active Member

    I would like to add a dynamic banner to the header. In the past I did that with this php include code:

    <?php include ('http://www.radioforen.de/adserver/images/getaudio/banner.php'); ?>
    But that seems not to work with XenForo. I see xen:include in the templates. Can I use it to insert the banner.php?
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

  3. twollert

    twollert Active Member

    Thanks, Jake! I found another solution for that:

    <iframe src="http://www.radioforen.de/adserver/images/getaudio/banner.php" marginheight="0" marginwidth="0" frameborder="0" scrolling="no" height="90" width="728"></iframe>

Share This Page