samtiria / nextgen-gallery

Automatically exported from code.google.com/p/nextgen-gallery
0 stars 0 forks source link

"ngg_add_new_gallery_form" do_action needed also in manage-galleries.php #437

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hi Alex,
i thing that you forgot to put the "do_action('ngg_add_new_gallery_form')" 
(line 306 in addgallery.php) inside the manage-galleries.php.

I think that in this case it will be necessary to pass an arg in order to 
differentiate the 2 ways to create a gallery: 
do_action('ngg_add_new_gallery_form', 'lorem');

I am using the V 1.8.4

Original issue reported on code.google.com by roberto....@gmail.com on 17 Nov 2011 at 5:45

GoogleCodeExporter commented 8 years ago
Yep, you are right...
But why should I differentiate them, they are doing the same on two pages ?

see r1028

Original comment by alex.cologne on 20 Nov 2011 at 12:23

GoogleCodeExporter commented 8 years ago
Yes but... html is different, check the html for 
http://dl.dropbox.com/u/5037972/screenshots/screen111209-161231.png 
(addgallery.php from line 297) and for 
http://dl.dropbox.com/u/5037972/screenshots/screen111209-162043.png 
(manage_galleries.php from line 276).

With the use of the passed arg i am able to create the right html to use.
check this screenshot: 
http://dl.dropbox.com/u/5037972/screenshots/screen111209-162322.png

Original comment by roberto....@gmail.com on 9 Dec 2011 at 3:24