I have edited my Global Settings template what used to look like this:
Now it looks like this:
Contents of globals.php:
When logging into domain.com/admin I can see two templates both called Global Settings even though I have removed all the editable tags from the initial template. Hence in first Global Settings template, it says "No Editable Regions defined". Second Global Settings has all the correct content from globals.php.
So my question is, how to completely remove the first Global Settings template?
- Code: Select all
<?php require_once( 'admin/cms.php' ); ?>
<cms:template title="Global Settings" />
<!DOCTYPE HTML>
<html>
<head>
<title><cms:editable name='global_title' label='Meta Title' desc='Website Meta Title (SEO)' type='text' order='1'></cms:editable></title>
</head>
...
</html>
<?php COUCH::invoke(); ?>
Now it looks like this:
- Code: Select all
<?php require_once( 'admin/cms.php' ); ?>
<!DOCTYPE HTML>
<html>
<head>
<title><cms:get_custom_field 'global_title' masterpage='globals.php' /></title>
</head>
...
</html>
<?php COUCH::invoke(); ?>
Contents of globals.php:
- Code: Select all
<?php require_once( 'admin/cms.php' ); ?>
<cms:template title='Global Settings' order='1' />
<cms:editable type='text' name='global_title' label='Title' />
<?php COUCH::invoke(); ?>
When logging into domain.com/admin I can see two templates both called Global Settings even though I have removed all the editable tags from the initial template. Hence in first Global Settings template, it says "No Editable Regions defined". Second Global Settings has all the correct content from globals.php.
So my question is, how to completely remove the first Global Settings template?