• 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

#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:
Code:
http://server/page/cupcakes
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.

Thanks!
 

Mike

XenForo developer
Staff member
#4
Loading an external file into a template (or page node) requires some amount of PHP to do it.