Pete Nice Posted July 23, 2011 Share Posted July 23, 2011 I'm reworking a theme from 1.3.6 to work on the current 1.4.3 version. In this theme I've used PHP includes {include_php file="/path/to/file.php"}. It now doesn't seem to work with the current version. I've looked at the Smarty documentation and it all seems correct. I've tried to migrate the PHP to a module and it doesn't work either. Any ideas what the issue is? Link to comment Share on other sites More sharing options...
Pete Nice Posted July 24, 2011 Author Share Posted July 24, 2011 bump Link to comment Share on other sites More sharing options...
bellini13 Posted July 25, 2011 Share Posted July 25, 2011 not sure what you are trying to include, but smarty has deprecated this function, so you should find an alternative to what you are doing. http://www.smarty.net/docsv2/en/language.function.include.php Link to comment Share on other sites More sharing options...
Pete Nice Posted July 25, 2011 Author Share Posted July 25, 2011 I'm using PHP to add Facebook and Twitter feeds to my page. I prefer this method because I can cache the results instead of having to do an API call each time the page loads. I'll look at the custom template function 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