Hi folks,
I'm using SilverStripe as a CMS in my projects and my own PHP framework for dynamic stuff (such as getting lists of things from the database).
What I would like to do is to "fetch" page header and footer, the menu, etc. from SilverStripe as a string that I could use in my code (which is outside SilverStripe infrastructure).
So, basically I want to have a test.php file somewhere that would call some SilverStripe code and it would get renderered mysite/templates/Includes/Menu.ss etc.
I've tried some approaches, but I got only so far that by extending a Page_Controller I was able to render some includes, but the menu was just <ul> </ul> :(
Would anyone please point me in the right direction?