Hi
I am trying to do the photo gallery and add it into my clients website
I am following the following tutorial
http://www.couchcms.com/docs/concepts/p ... llery.html
I have made the template page called gallery.php, the code is below
The gallery page is not showing in the admin cms side though, im not sure where I am going wrong, can anyone help please as would love to get this working
What am I missing or am I missing any files?
Thank you in advance
Kind regards
Ian
I am trying to do the photo gallery and add it into my clients website
I am following the following tutorial
http://www.couchcms.com/docs/concepts/p ... llery.html
I have made the template page called gallery.php, the code is below
- Code: Select all
<?php require_once'cms/cms.php'; ?>
<cms:template title='Gallery' clonable='1' dynamic_folders='1' gallery='1'>
<cms:editable
name='gg_image'
label='Image'
desc='Upload your main image here'
width='500'
height='500'
show_preview='1'
preview_height='200'
type='image'
/>
<cms:editable
name='gg_thumb'
label='Image Thumbnail'
desc='Thumbnail of the main image above'
width='115'
height='115'
enforce_max='1'
assoc_field='gg_image'
show_preview='1'
type='thumbnail'
/>
</cms:template>
<?php
$title = "Gallery";
$pgDesc="";
$pgKeywords="";
include ( 'includes/header.php' );
?>
<!--CONTENT-->
<cms:pages masterpage="gallery.php" include_subfolders='0' >
<a href="<cms:show gg_image />">
<img src="<cms:show gg_thumb />" title="<cms:show k_page_title />" />
</a>
</cms:pages>
<div style="clear: both;"></div>
<div style="margin: 145px 0 0 0;"></div>
<!--CONTENT-->
<?php include( 'includes/footer.php' ); ?>
<?php COUCH::invoke(); ?>
The gallery page is not showing in the admin cms side though, im not sure where I am going wrong, can anyone help please as would love to get this working
What am I missing or am I missing any files?
Thank you in advance
Kind regards
Ian