lupael Posted April 20, 2013 Share Posted April 20, 2013 Hello, I have a website with PHP header and footer Header location: http://www.uscloudhost.com/header.php and Footer location: http://www.uscloudhost.com/includes/footer.php At the time of editing http://www.uscloudhost.com/clients/templates/default/header.tpl I'm putting <?php include('header.php'); ?> and for footer editing http://www.uscloudhost.com/clients/templates/default/footer.tpl I'm putting <?php include('includes/footer.php') ?> at the end of that file. But nothing happain. Custom Header and Footer are not showing. Do I have to add any code before or after header calling code? 0 Quote Link to comment Share on other sites More sharing options...
lysenshi Posted May 20, 2013 Share Posted May 20, 2013 use {php} include '/full/path/to/header.php'; {/php} {php} include '/full/path/to/footer.php'; {/php} you can't use <?php directly inside .tpl files 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.