One more, how do I print all modules from all visibile pages?
I tried the following with no good results
<?php foreach($pages->visible() as $canvas): ?> <p class="ta--c c--wh"><?= $canvas->title() ?></p> <main role="main"> <?= $canvas->modules() ?> </main> <?php endforeach ?>
What I get is half the content from
$canvas->modules() but all the
<?= $pages->modules() ?>prints nothing.
Any way to accomplish this?