Well the work for producing a contributable event photography solution is complete. Before I post the code I'd like some feedback.
If you go to my site http://www.daugharty.com and click galleries you will only see two listed (published) galleries, however if you go back to the home page, you will see an event ID field. Enter either the number 100 or 200 for event ID's and you will be redirected to hidden albums.
I had passwords on these but I took them off for you to see how the integration works. Please provide feedback and I'll post the code as an installable contrib.
I've got error processing left to do if the event ID does not exist. Right now it gives a blank page.
Thanks in advance for the feedback.
It's basically just a kind of search function to get unpublished albums directly? I can imagine that this could indeed be useful sometimes and an alternative to the password protection.
So the ID is a special id? Why not use the album name or the already given album id?
because the event ID can be alpha-numeric and is a number used to setup for an event thus allowing me to include this number on the form that I take to each event.
The password on the album will be included in a form field on the events page so it's posted during load of the album.
Alright, maybe it's because I am not a photographer that I did not understand the concept of event photography completly. If you find it useful, others might too. So if you want you can post it directly on the trac. Or we just link to your site from our extensions page, if you prefer to have a download or so on you site.
I will post the code next week after I clean it up a little but here is what was done
In general the events.php page joins against the albums table based on the album ID that is stored in the events table as a means of looking up the album title for redirect.
Usage for me is to unpublish an album so it's not visible in the gallery and provide access via an event ID that I gave people during their session.