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

XF 1.5 how to edit php of a page node

Discussion in 'Styling and Customization Questions' started by DieselMinded, Feb 22, 2016.

  1. DieselMinded

    DieselMinded Active Member

    I'm trying to install a php script on this page..

    http://www.mymilitia.com/pages/registry/

    the script requires i add

    <?php
    ob_start();
    ?>

    to the top off my php page and

    <?php include '/hsphere/local/home/iiiers/mymilitia.com/registry/app/views/pjLayouts/pjActionListings.php'; ?>

    to the bottom

    and add

    {YP_LISTINGS}

    to the html

    so where do i go to add the php?
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    You would have to use the callback option as you can't include PHP in a page node like that.
     
  3. DieselMinded

    DieselMinded Active Member

    what do i need to do to make that happen?
     
  4. Brogan

    Brogan XenForo Moderator Staff Member

  5. DieselMinded

    DieselMinded Active Member

    i just used iframe instead
     

Share This Page