robincox Posted November 14, 2010 Share Posted November 14, 2010 Hi all. I have to use php in the file header.tplMy question is how can I do this:<?php echo $topHeader; ?>In header.tpl right under the <body> tag? This is a one time fix I have to do so I don't want to learn smarty, just a line of code for this fix. Link to comment Share on other sites More sharing options...
rocky Posted November 15, 2010 Share Posted November 15, 2010 Assuming you have code like the following in header.php: $smarty->assign('topHeader', $topHeader); You just need to use the following in header.tpl: {$topHeader} Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now