Hi
I have a includes/footer.php file and I have added the following code to it
I have then created a globals.php file with the following code in it
In the admin side, I see the first two content textarea boxes but the third one is not being added to the admin for some reason, I have visited the file globals.php in the browser and refreshed it while being logged in as super admin and also cleared the cache but still no joy
Is there something I am missing?
I have a includes/footer.php file and I have added the following code to it
- Code: Select all
<cms:get_custom_field 'footer_phone_number_content' masterpage='globals.php' />
<cms:get_custom_field 'footer_opening_hours_content' masterpage='globals.php' />
<cms:get_custom_field 'footer_text_content' masterpage='globals.php' />
I have then created a globals.php file with the following code in it
- Code: Select all
<?php require_once( 'cms/cms.php' ); ?>
<cms:template name='globals' title='Globals' order='5' />
<cms:editable name='footer_phone_number_content' toolbar='full' type='richtext' />
<cms:editable name='footer_opening_hours_content' toolbar='full' type='richtext' />
<cms:editable name='footer_text_content' toolbar='full' type='richtext' />
<?php COUCH::invoke(); ?>
In the admin side, I see the first two content textarea boxes but the third one is not being added to the admin for some reason, I have visited the file globals.php in the browser and refreshed it while being logged in as super admin and also cleared the cache but still no joy
Is there something I am missing?