samtiria / nextgen-gallery

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

feature request: filter addiction (ngg_gallery_picturelist) in nggfunctions.php (inside nggShowGallery function) #414

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Hi Alex, i have another filter addiction request :)

In file nggfunctions.php, it should be good to insert a new filter inside the 
nggShowGallery function:
........
$picturelist = apply_filters('ngg_gallery_picturelist', $picturelist, 
$galleryID);
........
Just after the "get gallery values" and before the "gallery not found" return 
text.

Why should it be useful?

Well, this is an example:

I have added in "manage gallery" a custom field named "flikr", where i can add 
my flickr gallery id.

With the new filter, i should be able to pass the "if(!$picturelist)" check, 
get the flickr id value and print a new picturelist.
Very useful when you give the users the possibility to upload their galleries, 
they can choose to upload or link flickr galleries.

Original issue reported on code.google.com by roberto....@gmail.com on 29 Aug 2011 at 11:08

GoogleCodeExporter commented 8 years ago
No way to add it to next release? :)

Original comment by roberto....@gmail.com on 9 Dec 2011 at 10:35

GoogleCodeExporter commented 8 years ago
Hi Alex, just a remind about this feature request :)

Have a good day

Original comment by roberto....@gmail.com on 26 Mar 2012 at 10:40