Jump to content

PHP include


Pete Nice
 Share

Recommended Posts

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?

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More