Rob Fielding Posted January 23, 2020 Share Posted January 23, 2020 Hello, I hope this is the right place to add this question. I have a site which is part blog and part forum. I want to have a consistent header across the site and I'd like to pull in a php file (called header.php) into my InVision theme. I've created a test theme but I can't see to get it to pull in the php file into the Global Template I've tried a normal PHP include and I've also seen a reference to use {insert="myfile"} but neither work. Is there a way to do this? My thanks in advance to anyone offering advice! Rob Link to comment Share on other sites More sharing options...
Ryan Ashbrook Posted January 23, 2020 Share Posted January 23, 2020 A workaround you can try is to place the file in your community folder, and then use the insert plugin in IPS, and then include it in your blog from the community folder. The following might also work, but I cannot guarantee that it will: {expression="include('/path/to/file.php')"} Link to comment Share on other sites More sharing options...
Rob Fielding Posted January 26, 2020 Author Share Posted January 26, 2020 Thank you I will give it a try Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.