Hi. I'm unable to access my globals.php variables in any other templates. I've downloaded and went through your Aurelius tutorial completely. And I can't reference global variables. The editable regions look good in the admin, i've even copied your exact tutorial code. If i can make global variables work we will probably move over about 30 sites to Couch. here is my code. Any help would be EXTREMELY HELPFUL.
globals.php code:
<?php require_once( 'couch/cms.php' ); ?>
<cms:template title='Global Settings' executable='0'>
<cms:editable name='site_name' label='Your Site\'s name' type='text'>Aurelius</cms:editable>
</cms:template>
<?php COUCH::invoke(); ?>
To reference the site_name my code on the blog.php template is as follows:
<cms:get_custom_field 'site_name' masterpage='globals.php' />
Please HELP!!!!!
Thanks so much!
globals.php code:
<?php require_once( 'couch/cms.php' ); ?>
<cms:template title='Global Settings' executable='0'>
<cms:editable name='site_name' label='Your Site\'s name' type='text'>Aurelius</cms:editable>
</cms:template>
<?php COUCH::invoke(); ?>
To reference the site_name my code on the blog.php template is as follows:
<cms:get_custom_field 'site_name' masterpage='globals.php' />
Please HELP!!!!!
Thanks so much!