“Edit gallery” link not displaying after image upload
-
Firts thanks for keeping the NextGEN Gallery 1.9 code alive, i recently found the NextCellent Gallery – NextGEN Legacy plugin and as i use only basic functions since first starting out on NextGEN Gallery i’m happy to find this continuation of it.
So far all works fine, the switch from NextGEN Gallery to NextCellent Gallery – NextGEN Legacy went smooth preserving all my galleries. Currently running NextCellent Gallery – NextGEN Legacy 1.9.35 on WordPress 4.9.1 and PHP 7.0.26.
Only thing i found missing sofar was the “Edit gallery” link displaying after upload of one or more images. Not sure why but when i replaced the 1.9.35 code with the old 1.9.13 code in admin/functions.php the “Edit gallery” link is showing again as usual on the line that notifies that “…” images are succesfully uploaded.
I edited admin/functions.php:
line 298 from: //TODO:Message will not shown, because AJAX routine require more time, message should be passed to AJAX $message = $created_msg; if ( count($updated) > 0) $message .= $c . __(' picture(s) successfully renamed','nggallery') . '<br />'; if ( count($image_ids) > 0 ) $message .= count($image_ids) .__(' picture(s) successfully added','nggallery') . '<br />'; if ($created_msg) { $message .= ' [<a href="' . admin_url() . 'admin.php?page=nggallery-manage&mode=image&gid=' . $gallery_id . '" >'; $message .= __('Edit gallery','nggallery'); $message .= '</a>]'; } if (!$message) $message = __('No images were added.','nggallery'); nggGallery::show_message($message); ----------- to -------------------->>>> //TODO:Message will not shown, because AJAX routine require more time, message should be passed to AJAX $message = $created_msg . count($image_ids) .__(' picture(s) successfully added','nggallery'); $message .= ' [<a href="' . admin_url() . 'admin.php?page=nggallery-manage&mode=image&gid=' . $gallery_id . '" >'; $message .= __('Edit gallery','nggallery'); $message .= '</a>]'; nggGallery::show_message($message);
- The topic ‘“Edit gallery” link not displaying after image upload’ is closed to new replies.