Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Rob Fielding Posted January 23, 2020 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
Ryan Ashbrook Posted January 23, 2020 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')"}
Recommended Posts
Archived
This topic is now archived and is closed to further replies.