G’day textweaver,
Please ensure that you are using the latest version of NextGEN Gallery. Their current version is 2.0.17 and the NextGEN Download Gallery tests as working with it.
Do you have any other plugins that integrate with NextGEN Gallery, or does your theme profess to working with NextGEN Gallery? I’ve seen a problem in the past where the Pagelines theme messes up custom gallery templates in this way.
cheers,
Ross
Hi,
Thanks so much for your help. I just updated to NextGEN Gallery 2.0.17 but the problem is persisting. When I add the download gallery using the old short code [nggallery id=1 template=download] I get a message on the page saying “This is not a valid template”. I have no other plugins that integrate with NextGEN Gallery, though I am using 6 other plugins within my site. Am I using the right code? Thanky again for any suggestions or help.
Hi once again. I just deactivated all the plugins in my site to check whether the Download Gallery would work on its own. I found out that the Dowload Gallery is interacting with one of the plugins I use (WP Simple PayPal Shopping Cart). It works fine with all the other plugins I use, but when I activate the Shopping Cart the message “This is not a valid template” shows up. If anyone has any suggestions for fixing this problem I’d appreciate it.
G’day textweaver,
Yes, that plugin has an error in its code for NextGEN Gallery templates. It has this function for diverting the template to its own:
function wp_cart_ngg_template_handler($arg1,$arg2)
{
if($arg2=="gallery-wp-cart"){
$template_name = "gallery-wp-cart";
$gallery_template = WP_CART_PATH. "/lib/$template_name.php";
return $gallery_template;
}
return $arg2;
}
The last line should be return $arg1;
not return $arg2;
Please advise the plugin author.
cheers,
Ross
Thanks kindly for your great support! I will definitely advise the WP Simple PayPal Shopping Cart author.
Sabra