I can get the description, but not the body? Creating a template.

Permalink
I'm creating a custom template from scratch, and I'm able to get the page description with this code:
<?php echo $c->getCollectionBody(); ?>


Though when I try to change getCollectionDescription to getCollectionBody, it doesn't work. I couldn't find any documentation on this, and it's a PITA. I'm referring to the body content you place inside the composer form.

 
hutman replied on at Permalink Reply
hutman
Are you using 5.7 or 5.6, what Page Type are you editing with Composer?

If I'm not mistaken the Body Text that you enter gets turned into a Content block on the page, so you wouldn't be able to access that this way.