Rendering a front end page from the control panelCreated 6 years ago by daviesgeek
I have a page that, on save, I'd like to render and spit out to a static file, using the front end (not the control panel) theme. How would I go about doing this?
daviesgeek — 6 years ago
Okay I was wondering if that might be the best idea. It's a tiny bit hacky, but I think it should be okay 😄
I think the easiest way would be using an event or observer to make a get request to the front end and capture the page content that way. Be it the content only or full response text.