2012-04-04, 20:41:54
The way I would usually do it is create all the parts of your page as subpages of index.
index
--homecontent
--aboutcontent
--portfoliocontent
Edit these pages as normal, set the to private so they don't show on the menu etc...
Then to include them in your template just use
index
--homecontent
--aboutcontent
--portfoliocontent
Edit these pages as normal, set the to private so they don't show on the menu etc...
Then to include them in your template just use
Code:
<!-- About -->
<div id="about" class="panel">
<div class="content">
<h2><?php getPageField('aboutcontent','title');?></h2>
<?php getPageContent('aboutcontent'); ?>
</div>
</div>
<!-- /About -->