I have a current site that uses ajax to pipe page contents into a div on my front page, the url of which doesnt change.
I am looking to use the CMS of silverstripe to produce templated, updatable pages, that I can then pipe through to my current page layout.
I have tried using:
$result = ob_get_clean();
within my current ajax script, but I get no results.
In my page.ss I have stripped out everything except the $Layout var.
When I go to
I see the markout output correctly, and it is this that I want to appear in my div on my front page..
Is there any setting or security variables that I need to adjust so that SS will be happy sending the output to my 'include' ?
Many thanks :)