Link to search results Link to search results
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Link to search results

Started by St. Anger, September 06, 2007, 04:12:13 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

St. Anger

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

Nibbler

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

Joachim Müller

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

Tranz

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.

Joachim Müller

I agree - that would be an option.