I have created a clonable template called page.php so the user can create new pages from the couchcms admin side and I done the first page after changing the default title but how do I get the content to show on the front end, I have the following coding
I used the nested pages documentation to create it: https://docs.couchcms.com/concepts/nest ... maker.html
Also how do I get the title to show, in my title tag I have:
I used the nested pages documentation to create it: https://docs.couchcms.com/concepts/nest ... maker.html
- Code: Select all
<?php require_once( 'cms/cms.php' ); ?>
<cms:template clonable='1' nested_pages='1'>
<cms:editable
name='content'
label='Page Content'
type='richtext'
/>
</cms:template>
<html>
<body>
<!-- Page Content -->
<div class="container">
<!-- Page Features -->
<div class="row text-center">
<div class="col-lg-12 col-md-12 mb-12">
<p class="lead">
</p>
</div>
</div>
<!-- /.row -->
</div>
<!-- /.container -->
</body>
<html>
<?php COUCH::invoke(); ?>
Also how do I get the title to show, in my title tag I have:
- Code: Select all
<title><cms:show page_title/></title>