Hello i have bunch of pages inside __pages folder
So far everything is good i can see the page inside panel. But when i open another page like rules page cms starts to see rules info but when i edit pages from panel it effects both of them. I have a code inside function.php to clone pages
What im a doing wrong here ?
- Code: Select all
<?php require_once( 'couch/cms.php' ); ?>
<cms:template title='Box Info Page' >
<cms:editable name='page_content' type='richtext' />
</cms:template>
<?php if(!defined('Davtiln.id')) { die(); } ?>
<div class="container default">
<div class="well well-content">
<div class="headline margin-bottom-20"><h3>BOX INFO</h3></div>
<div class="row margin-bottom-20">
<div class="col-xs-12 col-sm-9">
<h4 class="text-primary"><cms:show page_content /></h4>
</div>
</div>
</div>
</div>
<?php COUCH::invoke(); ?>
So far everything is good i can see the page inside panel. But when i open another page like rules page cms starts to see rules info but when i edit pages from panel it effects both of them. I have a code inside function.php to clone pages
- Code: Select all
function getSubtitle() {
$url = empty($_GET['do'])?null:$_GET['do'];
switch ($url)
{
case 'rules': $subtitle = "Rules"; break;
case 'box-info': $subtitle = "Box Info"; break;
What im a doing wrong here ?