Hi
I am trying to make a site with a slideshow that the client can control and add/edit images their selves, I have gallery.php in the main root of the site and the coding is below
when I go the gallery on the back end and click the plus icon to add a slideshow image, it just keeps loading and nothing else, can't see where I gone wrong or I do need to create a php file in the snippets folder?
Kind regards
Ian
I am trying to make a site with a slideshow that the client can control and add/edit images their selves, I have gallery.php in the main root of the site and the coding is below
- Code: Select all
<?php require_once( 'cms/cms.php' ); ?>
<cms:template title='Gallery'>
<cms:repeatable name="slider" label='slider' >
<cms:editable name='slider_image'
label="Slideshow Image"
width="640"
height="430"
show_preview='1'
preview_width="150"
type="image" />
<cms:editable name='slider_text'
label="Text"
type="text" />
<cms:editable name='slider_caption'
label="Caption"
type="text" />
</cms:repeatable>
</cms:template>
<title><cms:show page_title/></title>
<?php
$title = "Gallery";
$pgDesc="";
$pgKeywords="";
include ( 'includes/header.php' );
?>
<div class="clear"></div>
<div id="column-whole">
<div class="slider-wrapper theme-default">
<div id="slider" class="nivoSlider">
<cms:show_repeatable 'slider' >
<img src="<cms:show slider_image />" />
</cms:show_repeatable>
</div>
</div>
</div>
<?php include( 'includes/footer.php' ); ?>
<?php COUCH::invoke(); ?>
when I go the gallery on the back end and click the plus icon to add a slideshow image, it just keeps loading and nothing else, can't see where I gone wrong or I do need to create a php file in the snippets folder?
Kind regards
Ian