View Single Post
  #3  
Old 04-03-2008, 12:32 AM
  Yurij's Avatar 
Yurij Yurij is offline
Banned
 

X-Adept
  
Join Date: Jan 2008
Posts: 486
 

Default Re: Is there a way to use an external header.php file for the admin section?

Quote:
Originally Posted by AgentBristow
Ok after reading some other threads I figured out how I should be formatting it :

{php}
include('http://www.mywebsite.com/_header.php');
{/php}

Still having issues though - I am now getting the error message>

Warning: include() [function.include]: URL file-access is disabled in the server configuration in /clientdata/clients/d/a/ecommercewebsite.com/www/shop/var/templates_c/%%E2^E20^E20954B4%%head_admin.tpl.php on line 7

try read this:

http://www.qijoo.com/fapm/Smarty/Smarty-2.6.14-docs/manual/language.function.include.php.html

Why are you doing "include" in tpl-file?
Reply With Quote