Hi, My site is built using the Smarty template system. I can't seem to plug miniBB into my Smarty templates, although this seems pretty simple.
The solution I would like to use is:
1. Change index.php to index_minibb.php
2. Create index.php with only the following: require("../Classes/Core/TemplateClass.php");
$Template = new Template;
$Template->display("Forum/Index.tpl");
3. Create Forum/Index.tpl with only the following: {include file="Header.tpl"}
{php} include("index_minibb.php"); {/php}
{include file="Footer.tpl"}
This almost works, in the sense that it does not generate an error. Unfortunately, only the miniBB logo appears. It seems that something is confusing the paths in miniBB.
Your suggestions would be greatly appreciated.
Thank you in advance. |