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

xenForo templates/styles in root directory

Discussion in 'XenForo Development Discussions' started by IcyRelic, Mar 4, 2016.

  1. IcyRelic

    IcyRelic Member

    I am trying to make my entire site match and id like to make my website use xenforo styles, js, header, footer ect. I have tried kotomi but it doesnt work in the root directory it gets everything but it doesnt get the correct links for css, js, images. Is there anyway to fix this?

    Here is the kotomi page
    http://axiom-network.com/

    Forum url
    http://axiom-network.com/forum/

    index.php
    PHP:
    <?php
    $startTime 
    microtime(true);
    $kotomi_indexFile "./forum";
    $kotomi_container true;
    $fileDir dirname(__FILE__)."/{$kotomi_indexFile}";
    require 
    "{$fileDir}/library/Dark/Kotomi/KotomiHeader.php";
    echo 
    "
    <html>
    <head>
    <title>kotomi test</title>
    </head>
    <body>
    Hello world!
    </body>
    </html>"
    ;
    require 
    "{$fileDir}/library/Dark/Kotomi/KotomiFooter.php";
     

Share This Page