Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: changing where the "search" searches  (Read 4922 times)

0 Members and 1 Guest are viewing this topic.

kebirek

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
    • Cargando Gasoil
changing where the "search" searches
« 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.
« Last Edit: December 14, 2004, 07:38:19 pm by TranzNDance »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: changing where the "search" searches
« Reply #1 on: December 12, 2004, 09:11:13 am »

did you try coppermine's search button?

Joachim
Logged

kebirek

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
    • Cargando Gasoil
Re: changing where the "search" searches
« Reply #2 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
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: changing where the "search" searches
« Reply #3 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  :-\\
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

kebirek

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
    • Cargando Gasoil
Re: changing where the "search" searches
« Reply #4 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.

Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: changing where the "search" searches
« Reply #5 on: December 13, 2004, 08:24:09 am »

But is it possible to search through album name?
Why don't you just give it a try?

Joachim
Logged

kebirek

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
    • Cargando Gasoil
Re: changing where the "search" searches
« Reply #6 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.
Logged

Nibbler

  • Guest
Re: changing where the "search" searches
« Reply #7 on: December 14, 2004, 02:58:21 pm »

You can't search by album name at the moment.
Logged

kebirek

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
    • Cargando Gasoil
Re: changing where the "search" searches
« Reply #8 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
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: changing where the "search" searches
« Reply #9 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
Logged

kebirek

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
    • Cargando Gasoil
Re: changing where the "search" searches
« Reply #10 on: December 17, 2004, 03:08:31 am »

that´s great, glad to see this is developing even further
Logged

jriba

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 21
Re: changing where the "search" searches
« Reply #11 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?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: changing where the "search" searches
« Reply #12 on: December 22, 2004, 04:25:49 pm »

if you think it's that easy, then go ahead and do so ::)

Joachim
Logged
Pages: [1]   Go Up
 

Page created in 0.022 seconds with 17 queries.