selectable light box with email functionality

Permalink
Hi all,

I've a client who wishes to build custom image galleries for specific customers. She would like the product images to display in a grid format with the ability for her clients to checkbox images and then allow her client to submit the list to her via email by clicking on a submit button,

Any suggestions of an add-on for this? I've thought about a shopping cart but think that might have too many non-editable components (price, ...)

Thanks.

sethhickel
 
JohntheFish replied on at Permalink Reply
JohntheFish
You may be better looking at some of the advanced form addons.
sethhickel replied on at Permalink Reply
sethhickel
I've browsed them but as yet have not found one that fits the bill. Do you have any suggestions?

Thank you.

Seth
JohntheFish replied on at Permalink Reply
JohntheFish
In that case you will need to write some php code.

You could start with the core form block, add the table-less layout addon and use that as the basis for a custom block template where checkboxes have images and some script to popup a larger overlay.

Or you could start with a gallery, add checkboxes to each thumbnail in the gallery, and wrap all of that in a form.

Or you could take one of the advanced form addons and create a new variation of a checkbox question type to be a checkbox with thumbnail and overlay popup.
sethhickel replied on at Permalink Reply
sethhickel
So I've been digging around and still can't find a form that allows me to
1. Have a checkbox with an associated image
2. Link the associated image to a larger image (lightbox)

I've looked at eCommerce - examplehttps://alltonespeakers.com/index.php/products/1025/... but that is kind of overkill for what I want.

Open for thoughts.

Thanks.

Seth
goodnightfirefly replied on at Permalink Reply
goodnightfirefly
I would build this using the Designer Content Pro addon http://www.concrete5.org/marketplace/addons/designer-content-pro/... and a custom form processor.

I've done a similar thing here minus the form http://robynross.com.au/gallery/portraits/...

In your instance you would just need add a checkbox array in the block controller, and wrap it all in a form which POSTs to a mailing controller.

Edit: Designer Content Pro for multiple products on a single page, regular Designer Content for one product on a page.
sethhickel replied on at Permalink Reply
sethhickel
Thank you. The site examples is very close to what I am trying to do. Nice site BTW!

So, any sample code or code snippets around wrapping this in a form with checkboxes you could provide would be very helpful - and very much appreciated. I'm "OK" with PHP. Good with HTML and building forms. How to combine the three with an add-on like this is a minor challenge for me. Plus (as is usually the case) my turn around needs to be quick.

Thanks for any additional help!

Seth
goodnightfirefly replied on at Permalink Reply
goodnightfirefly
It would depend on how you currently have it set up (like if you already have products as pages, then you would create a custom page list template instead of using DCP), but here are some things to get you started.

Form Input Arrays:http://davidwalsh.name/checkbox-form-input-arrays...
e.g.
<label>
   <input type="checkbox" name="product_checked[]" value="NAME_OF_PRODUCT"> Send me info on this product
</label>


Sending an email with c5 email helpers:http://www.concrete5.org/documentation/developers/helpers/mail...

Of course if all else fails, just make a simple contact form and customers can specify on their own which products they would like more info on...