I hope this hasn’t bee asked and answered repeatedly:
I have a single page on my site that is a listing of "MVPs." It has repeating blocks of content incorporating a photo, name, blurb and divider graphic. Because of the structured nature of the data and the fussiness of the underlying CSS, it seems to me the easiest way to do this is to create a template that has the exact layout for one these repeating blocks and include the various fields as Template Variables. This way I can control the exact layout of each block, and I would then create a new page with this template for each MVP.
Easily done. Here’s the page in question:
http://www.athleticmindedtraveler.com/about_us/our_mvps.php
Next, what I want to do is write a snippet that takes the output from each of these individual member pages and lists them on my single MVPs page. So my question is this: Is there a way to fetch the entire output of a page, its content and its template variables exactly as the page would render? This would be something like $modx->getPageOutput($id). I’m sure I can do it by writing a function to output the content and template variables, etc, but it seems as though there should be a simple way to take the formatted output of one page and include it in another page.
Thanks for your help. I continue to be amazed by the possibilities and flexibility of MODx.