OK, first off thnx for the positive feedback. And a special thanks for asking about this thing as I had to go in to see how I actually did it and then find out that it was actually not working because I had a few links messed up ...
Here's what I did: basically I took the
lightbox.php, added/changed a few things and created a <form> around it which I send with PHP via mail. For this I make use of the PHP feature that when calling a PHP page via a <form> automatically variables are created and filled according to the fields in the <form>. This is actually the easiest part - it's not pretty but for the moment it works
A nicer solution would be to feed it into the database and send a notification to the admin or something like that (for me that's phase 2 ...).
The HTML is created in the
quotation.php with a
while ... do loop for all images in the lightbox.
I've created a ZIP file with the files
quotation.php (to be put into the 4images root), the
quotation.html (to be put into the template folder), the
quotation_send.php (the thing that creates the mail out of the <form>) - I did not include the
quotation_ok.html nor the
quotation_error.html as there is nothing special in there; the paths to them are to be found in the
quotation_send.php, and I think they have to be hard coded. Download it from here (Edit: If you want to have the scripts please send me a PM as I want to keep a little bit track of who's getting it and who's not - there is one competitor in exactly our field who I don't want to be aware of this feature/script
).
So, I hope you'll find your way around. If you have questions or things are unclear (which wouldn't surprise me) please yell out! And Chris: feel free to massage it as much as you like (as long as we get the results presented but I don't think this needs to be mentioned, right?
)
One more remark: I've modified the user registration as you might've seen and the only reason (at least so far) is to automatically put these values into the quotation form when it's called. And there are definetly things in the
quotation.php that don't need to be there and are just in there because it has been a lightbox.php once (i.e. I don't really know what they are there for so I rather let them be).
HTH and as I said if there are questions or things that need explanation/clarification please say so!
Bernd