Rendering a front end page from the control panel
Created 2 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?

ryanthompson  —  2 years ago Best Answer

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.

daviesgeek  —  2 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 😄