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: Link to search results  (Read 8303 times)

0 Members and 1 Guest are viewing this topic.

St. Anger

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 107
Link to search results
« on: September 06, 2007, 04:12:13 pm »

For the next version of Coppermine, would it be possible to link to search results? The older version of CPG had links in the browser's address bar that could be copied and pasted, so users could post links to the search results. In CPG 1.4.x, however, the URL in the address bar always remains the same (gallery/thumbnails.php).

For example, my old version of Coppermine provided URLs in this format: www.yoursite.com/gallery/thumbnails.php?album=search&type=full&search=whatever+you+want+to+search+for
Logged

Nibbler

  • Guest
Re: Link to search results
« Reply #1 on: September 06, 2007, 05:39:58 pm »

Because the search form is more complicated in 1.4 I changed it to a 'post' form. Link would be too messy otherwise.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Link to search results
« Reply #2 on: September 07, 2007, 09:39:01 am »

I hate POST forms for search pages. It's absolutely mandatory imo that the cpg1.5.x search uses GET!
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: Link to search results
« Reply #3 on: September 08, 2007, 02:36:37 am »

Yes, the resulting URL (using Web developer toolbar Post to Get function) is messy. One possibility is to leave the addressbar clean with POST method. Then on the search results page have a Link to Results link that could be copied, the way Google Maps does it.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Link to search results
« Reply #4 on: September 08, 2007, 10:21:22 am »

I agree - that would be an option.
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 19 queries.