I have an image gallery type setup that allows for the user to upload a set of images for a page. I'm looking for a way to add a checkbox or something similar to the image document type where only one could be clicked. ie, a featured image. If another one in that set is clicked, it would uncheck the others. Is there a control that would do this or am I forced to set the featured image at the parent level with a picker?
Cool.. I just wanted to check first to see if there was any out of the box items or if anyone had anything to share. Seems like it would be a good package that I may attempt to put together when I have some spare time.
Featured Image
I have an image gallery type setup that allows for the user to upload a set of images for a page. I'm looking for a way to add a checkbox or something similar to the image document type where only one could be clicked. ie, a featured image. If another one in that set is clicked, it would uncheck the others. Is there a control that would do this or am I forced to set the featured image at the parent level with a picker?
I think you have to use an action handler to accomplice this
Hi Lucuma
As Christer is saying you should look into using an event handler to achieve this.
There is a full overview of all the possible events in the different sections here: http://our.umbraco.org/wiki/reference/api-cheatsheet/using-applicationbase-to-register-events/overview-of-all-events
Hope this helps.
/Jan
Cool.. I just wanted to check first to see if there was any out of the box items or if anyone had anything to share. Seems like it would be a good package that I may attempt to put together when I have some spare time.
is working on a reply...