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

XF 1.3 Custom Page Link forum to load custom index.html

Discussion in 'XenForo Questions and Support' started by Damnleperchons, Sep 30, 2014.

  1. I'd like to create a custom page link load an index file in a directory.

    For instance if I make a page link called cupcakes, the address bar would show something like this:
    Of course, the page is blank because there is no html code written in it.

    If I have an index file in a subdirectory, for instance server/cupcakes/index.html, how could I make a page link load that specified index.html file?

    I can load the file with doing a "create new link forum" but I'd like to see that page loaded wrapped in the fully functional xenforo base.

  2. Brogan

    Brogan XenForo Moderator Staff Member

  3. Well basically I'm just trying to load an index file from a subdirectory in a page link format so it loads the index inside xenforo instead of redirecting it to the page without xenforo.

    Below is what I'm trying to achieve:

  4. Mike

    Mike XenForo Developer Staff Member

    Loading an external file into a template (or page node) requires some amount of PHP to do it.
  5. Hmm, so I would have to bootstrap the html index file with PHP. Ok then, I'll look into it. Thanks.

Share This Page