Render area/blocks from different page

Permalink
I want to make some kind of preview of the content of other pages. Thus I need to render the main area from another page, but I am not sure how to do that.

Does anyone know how to:
- get the main area of a different page ?
- render that area in the current page ?
- or get a list of the blocks on another page and render them ?
- or any other way that allows to include blocks from a different page in the current page ?

Side question: would it be possible to allow the user to edit all the blocks from the different pages directly on the page they are rendered ?

 
hutman replied on at Permalink Reply
hutman
I believe all you would have to do to display the area on the page would be something like this

$a = new Area('Main');
$a->display($page);

Where $page is the object of the page you want it to come from. But I think that editing areas/blocks from other pages is a good (or maybe possible) idea.