News:

CPG Release 1.6.29
During HTML5 upload, keep pseudo blank code 200 messages from triggering error condition
added Russian language
correct failure to use theme menu icons in album manager
minor vulnerabilities mitigation

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.