Hey -
So I have a common header design that I use for my forums, CMS, gallery - whatever. To make my life simple I've made the header design in an external PHP file that whatever software that I am using can just include it.
Is it possible to do a PHP include inside xenForo's template system? I know with a certain other forum software you had to basically write a custom product to do it. This is all I am looking to accomplish in the header template:
So I have a common header design that I use for my forums, CMS, gallery - whatever. To make my life simple I've made the header design in an external PHP file that whatever software that I am using can just include it.
Is it possible to do a PHP include inside xenForo's template system? I know with a certain other forum software you had to basically write a custom product to do it. This is all I am looking to accomplish in the header template:
Code:
<div id="header">
<?php $a = file_get_contents("http://url.to.file/navigation.php");
echo ($a); ?>
<xen:include template="logo_block" />
<xen:include template="navigation" />
<xen:if is="{$canSearch}"><xen:include template="search_bar" /></xen:if>
</div>