DHDNick Posted March 24, 2009 Share Posted March 24, 2009 I want to put my navigation in my billing panel but it won't show up. What file do I edit so it's throughout the entire portal except the admin panel? Thanks, Nick 0 Quote Link to comment Share on other sites More sharing options...
Operator Posted March 24, 2009 Share Posted March 24, 2009 Hey Nick, You want to edit the .tpl files in the templates folder you will see the .tpl files in that folder for the different areas. The tag to insert php into the smarty templates its just {php} I believe. 0 Quote Link to comment Share on other sites More sharing options...
sparky Posted March 24, 2009 Share Posted March 24, 2009 header.tpl is the file you are after use {php}...{/php} tags to insert php code use {literal}...{/literal} tags for any java script code 0 Quote Link to comment Share on other sites More sharing options...
DHDNick Posted March 26, 2009 Author Share Posted March 26, 2009 So would this work? {php} require("http://www.datahostdirect.com/NavBar_Files/NavBar.php"); {/php} Because my navigation isn't showing up and that's the only code I need for it to show up. 0 Quote Link to comment Share on other sites More sharing options...
sparky Posted March 26, 2009 Share Posted March 26, 2009 URLs can be used with the include(), include_once(), require() and require_once() statements (since PHP 5.2.0, allow_url_include must be enabled in your php.ini). 0 Quote Link to comment Share on other sites More sharing options...
nhudson Posted March 26, 2009 Share Posted March 26, 2009 allow_url_include must be enabled in your php.ini). Which isn't a recommended setting to enable. 0 Quote Link to comment Share on other sites More sharing options...
sparky Posted March 26, 2009 Share Posted March 26, 2009 Which isn't a recommended setting to enable. You beat me to that ... was just about to edit my post and mention that 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.