neuhs Posted November 19, 2020 Share Posted November 19, 2020 Hi, Is there a way to add PHP code within a .tpl file? {php}{/php} is depreciated so I can't use that to add my php code within my tpl file. Thanks in advance! Link to comment Share on other sites More sharing options...
musicmaster Posted November 19, 2020 Share Posted November 19, 2020 Indeed, you cannot use php in tpl files. Smarty itself allows some primitive programming and you will need to put other programming in the php files that call the tpl file. 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