PDA

View Full Version : Client software page_header.tpl as wordpress header


infocraze
03-10-09, 23:33
Hi,

I have the client software installed in the root directory of my website and wordpress in a subdirectory. I need to include the page_header.tpl within my wordpress theme header.php file, I am not sure if this is possible. I tried the following code:

<?php
$smarty->display('file:/the/path/public_html/templates/default/elements/page_header.tpl');
?>

This gave Fatal error: Call to a member function display() on a non-object in

Any advice on the right codes for both header and footer tpl file calls would be much appreciated.

Thanks.

IntroSites
07-10-09, 09:15
Wordpress doesnt use smarty, you could just copy and paste the .tpl (excluding any smarty tags) in your wordpress header