PDA

View Full Version : Gear.php Not Working Correctly


segal3
8th of October 2006 (Sun), 20:16
Easiest issue (well, simplest to explain) addressed first:

Clicking on an 'Accessory' in gear.php does not display any microthumbs of example photos where that accessory was used (either directly on 'Gear notes' from index.php page or on the accessory link from the photo details section of the photo page).

Clicking on a camera displays microthumbs from all exhibitions, but 'Search for all photos taken with this camera' is broken somehow - it displays photos only from one of the exhibitions, no matter which the referring exhibition was.

Clicking on a lens link from the photo details of the photo.php page takes you to the gear.php page with thumbs from *all* exhibitions displayed, but when you click on 'Search for all photos taken with this lens', it *only* displays photos from the referring exhibition.

Seems like some of those should be switched around. I liked the old format where a new window would popup as well.

*Edit* - But the gear.php doesn't seem to save the referring exhibition information if you then click onto a different accessory/camera/lens, so the problem changes. :confused:

Pekka - are some of these easy fixes?

Pekka
8th of October 2006 (Sun), 21:02
Without checking it deeper it just seems the search link need to be added &exhibition=all

Gear page is not exhibition-specific in EE 2, it is for "allowed exhibitions".

I'll look into this tomorrow.