Problems saving Voting "Enable for Image:
-
I Installed NextGen Gallery.
I then installed voting.
I can get Gallery Voting – no stress.I edited the gallery.php file to add the code line
[ Moderator Note: Please post code or markup snippets between backticks or use the code button. As it stands, your code may now have been permanently damaged/corrupted by the forum’s parser. ]
<?php echo nggv_imageVoteForm($image->pid); ?>into it. The actual code around looks like:
<!-- Thumbnails --> <?php foreach ( $images as $image ) : ?> <div id="ngg-image-<?php echo $image->pid ?>" class="ngg-gallery-thumbnail-box" <?php echo $image->style ?> > <div class="ngg-gallery-thumbnail" > <a>imageURL ?>" title="<?php echo $image->description ?>" <?php echo $image->thumbcode ?> > <?php echo nggv_imageVoteForm($image->pid); ?> <?php if ( !$image->hidden ) { ?> <img title="<?php echo $image->alttext ?>" alt="<?php echo $image->alttext ?>" src="<?php echo $image->thumbnailURL ?>" <?php echo $image->size ?> /> <?php } ?> </a> </div> </div>However, in the back end of NextGen gallery I turn on “Enable for Image” but when I save it comes back without the tick.
What am I doing wrong?
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
The topic ‘Problems saving Voting "Enable for Image:’ is closed to new replies.