coppermine-gallery.com/forum

Support => Older/other versions => cpg1.3.x Support => Topic started by: kebirek on December 11, 2004, 04:50:52 PM

Title: changing where the "search" searches
Post by: kebirek on December 11, 2004, 04:50:52 PM
Hi, first of all, sorry if I make a spelling mistake or don´t manage to express myself clearly

I searched the forum through hours and couldn´t find what I am looking for

I want my users to be able to search pictures in the entire site (I mean by category title, date added, etc). By default (I believe) they can only search in the category they are viewing.
Title: Re: changing where the "search" searches
Post by: Joachim Müller on December 12, 2004, 09:11:13 AM
did you try coppermine's search button?

Joachim
Title: Re: changing where the "search" searches
Post by: kebirek on December 12, 2004, 02:12:25 PM
When you say "coppermine´s search button" you could be refering to the search button of this forum or the search button in MY coppermine

I tried both, here in the forum, I found lots of posts about how to introduce keywords in the search, and in my coppermine, I found out that visitors can only search in the category they are viewing.

Here´s the search, with no modifications http://cargandogasoil.sizzly.com/coppermine/search.php . Also, I am using version 1.3.1.

I believe I should change something in the search.inc.php file, but I tried modifying that file with no success.

Maybe I didn´t manage to explain myself, I know that the search searches through the info attributes of each file in the current category. Since I couldn´t find out how to add attributes to the info in batch, I want visitors to be able to search through category name. Also, due to the nature of visitors of my website, I would like them to be able to search in the entire gallery, not just in the category they are viewing.

Thanks, bye bye
Title: Re: changing where the "search" searches
Post by: Casper on December 12, 2004, 02:23:28 PM
When you search in coppermine, it searches the whole gallery, not just the album or category you are in.

How are you expecting it to test differently when you only have 1 album  :-\\
Title: Re: changing where the "search" searches
Post by: kebirek on December 12, 2004, 02:50:03 PM
I used to have more than one album, and I tested it then.

I actually came to the wrong conclusion that it searched just in one category, sorry for my mistake.

But is it possible to search through album name? if not possible, is there a way to add info attributes in batch mode? (so I can put the name of the album in the info, and visitors could find it that way)

I know this board is following a one-question-per-topic policy, but I think I am asking how to do one thing and the different methods I can use to achieve this. Please correct me if I am wrong.

Thanks for the quick and accurate replies guys, I congratulate you for the wonderful application and this useful forum.

Title: Re: changing where the "search" searches
Post by: Joachim Müller on December 13, 2004, 08:24:09 AM
Quote from: kebirek on December 12, 2004, 02:50:03 PM
But is it possible to search through album name?
Why don't you just give it a try?

Joachim
Title: Re: changing where the "search" searches
Post by: kebirek on December 14, 2004, 02:52:36 PM
I´ve already gave it a try.
There must be some misunderstanding in this topic.

http://cargandogasoil.sizzly.com/coppermine

A name of an album is "22 / 10 / 2004 - En el Mercado del Puerto" for example, when I search for that in http://cargandogasoil.sizzly.com/search.php I get no results

What I am trying to do is allowing the visitor to search for an album and find it, without navigating through the different categories.
Title: Re: changing where the "search" searches
Post by: Nibbler on December 14, 2004, 02:58:21 PM
You can't search by album name at the moment.
Title: Re: changing where the "search" searches
Post by: kebirek on December 14, 2004, 06:18:10 PM
Thanks Nibbler for your answer. Problem solved, I thought I could change something but now I know it´s not possible.

Bye bye

Ps: Congratulations for this wonderful application
Title: Re: changing where the "search" searches
Post by: Joachim Müller on December 16, 2004, 08:58:38 AM
Nibbler has created an advanced search for the current devel version (cpg1.4), so this will be available in the near future.

Joachim
Title: Re: changing where the "search" searches
Post by: kebirek on December 17, 2004, 03:08:31 AM
that´s great, glad to see this is developing even further
Title: Re: changing where the "search" searches
Post by: jriba on December 21, 2004, 04:09:20 PM
Couldn't we just change the query that searches to look in the "album name" field instead of whereever it looks now?
Title: Re: changing where the "search" searches
Post by: Joachim Müller on December 22, 2004, 04:25:49 PM
if you think it's that easy, then go ahead and do so ::)

Joachim