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

XF Page + php

Discussion in 'XenForo Development Discussions' started by Morgain, Apr 30, 2014.

  1. Morgain

    Morgain Well-Known Member

    I want to put a feed into an XF Page from a site where I hold a bibliography of listings.
    But I don't understand how to enter their php snippet under the PHP tab on the XF Page.

    The PHP snippet I should enter is:

    PHP:
    <?php $URL‘https://api.zotero.org/groups/mabinogistudy/items?format=bib&style=apa’?>
    <?php $var
    file_get_contents($URL)?>
    <?php 
    echo $var ?>
    The URL for my bibliography source is
    https://www.zotero.org/groups/mabinogistudy/items/

    However I was unable to Copy the php snippet from the instruction as it was an image file.
    Here it is. phpzotero.png
     
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

Share This Page