url --> video_url in glmVideos ngg template
authorLaury GvR <laury@gaslightmedia.com>
Wed, 7 Jan 2015 22:21:36 +0000 (17:21 -0500)
committerLaury GvR <laury@gaslightmedia.com>
Wed, 7 Jan 2015 22:21:36 +0000 (17:21 -0500)
header.php
nggallery/gallery-glmvideos.php

index 7522a4d..0a133ea 100755 (executable)
@@ -84,4 +84,4 @@
                     <section class="left-small">
                         <a class="left-off-canvas-toggle menu-icon" href="#"><span>Menu</span></a>
                     </section>
-                </nav>
\ No newline at end of file
+                </nav>               
\ No newline at end of file
index 2803508..599e8d8 100644 (file)
@@ -40,14 +40,14 @@ Follow variables are useable :
             <div id="ngg-image-<?php echo $image->pid ?>" class="ngg-gallery-thumbnail-box imgBorderMe" <?php echo $image->style ?> >
 
                 <div class="ngg-gallery-thumbnail" >
-                    <a href="<?php echo nggcf_get_field($image->pid, "url") ?>"
+                    <a href="<?php echo nggcf_get_field($image->pid, "video_url") ?>"
                     title="<?php echo esc_attr($image->description) ?>"
                     data-src="<?php echo nextgen_esc_url($image->imageURL) ?>"
                     data-thumbnail="<?php echo nextgen_esc_url($image->thumbnailURL); ?>"
                     data-image-id="<?php echo esc_attr($image->pid); ?>"
                     data-title="<?php echo esc_attr($image->alttext); ?>"
                     data-description="<?php echo esc_attr($image->description); ?>"
-                    data-url="<?php echo nggcf_get_field($image->pid, "url"); ?>"
+                    data-url="<?php echo nggcf_get_field($image->pid, "video_url"); ?>"
                     <?php echo $image->thumbcode ?> >
                         <?php if ( !$image->hidden ) { ?>