Joined: Mar 03, 2003 Posts: 6274 Location: Washington Township, NJ, USA
Posted: Fri Dec 19, 2003 8:53 am Post subject: [RELEASE] Gallery Search Block
A very simple block to add to your site to allow Gallery searching from anywhere. A sample can be found at http://phpnuke.nukedgallery.net [nukedgallery.net]. The file can be downloaded from here [nukedgallery.net] _________________
Joined: Mar 29, 2003 Posts: 1038 Location: Cambs,UK
Posted: Thu Jan 01, 2004 8:47 am Post subject: Re: [RELEASE] Gallery Search Block
You may need to edit your /modules/Top/index.php also if you use it. _________________ "The only difference between me and a madman is that I'm not mad."
Maybe this is too much to ask from the already marvelous search, but is there anyway to get the results to display the immediate parent album's title and then the search result album's title?
My site goes ABC>series>sets, and to save space, I didn't put the series name in the set albums themselves (you can see the parent album at the top anyway), but in the search results, you don't have that, and without a highlight, you don't really know what a set is sometimes. It'd be nice if it could display series album title : set album title...
hmm...good idea...BUT...(there's always a "but")...this block uses the built-in search function in Gallery (no use in me reinventing the wheel). so, such a mod would have to go into the core gallery code. i will see what i can dig up and will submit a patch for inclusion in the next release. once such a patch is available, i'll post it here. _________________
i've got a preliminary version working, search for "dog" in the gallery.
you'll notice the last result, the "are you having fun yet?" image, is inside the "december 2002" album of the "sugar" master album, however, i haven't gotten the parent recursion to root working (efficiently) yet. for now, it's bedtime, but i will tackle this soon. _________________
i believe is what you're looking for. i'm speaking with the devs now about including it in the next CVS build. there is concern that it may be a substantial performance hit on large galleries, though. _________________
I have some empty albums basically as placeholders, so they will pop up in the search, but not have a highlight image to show what set they're from. These are all invariably (for my site) subsubalbums, so it would be nice to show the subalbum name in the search result. For example, if someone types Set A , the two set A albums will popup, but without a highlight image, it's impossible to distinguish between the two. Or even if it does have a highlight image, if the user is unfamiliar with the series, it doesn't help much.
Similarly, when I search on your site for July, the July subalbums popup, but I have no way of knowing which dog album they come from.
Another thing I was hoping to be able to do is be able to search for Series 1 Set A and get just that set, but I haven't figured a good way to do that.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum