3214 Posts in 848 Topics by 810 members
|Go to End|
1 December 2011 at 11:50am
Hi - I'm trying to sort out the best solution for including the header and footer of a site created in SilverStripe site in a phpBB forum.
A few things I've thought about already are:
1 - Sorting out how to publish static versions of the header and footer into the assets folder. I imagine I would probably want to modify the onAfterWrite of the Page class and use something simliar to the doPublish() function of ErrorPage.php so that every time a page is published I generate the updated static header or footer which can then be included via SSI or other include.
2 - Creating dummy pages and a basic template that only outputs the header or footer that I can then access via cURL.
Are these my best options? Does anyone have any other ideas that might also work?
|Go to Top|