Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I have Umbraco 6.1.1 and Contour 3.0.12.
I'm about to start work on a new form and I'm just not sure how to go about it in Contour of if it is even possible.
I need a form that displays a list of thumbnail images from the media library from which the user can select one.
Is this sort of thing possible with Contour? How might I go about it?
Ok, the way I am going with this, is this.
I have created a simple form in Contour with the two dropdowns I need. Then I created a macro that displays all media images.
My plan is to remove the submit button from the form and add my own button that just calls some jquery that will
1. Read the two dropdowns and which image they have selected.
2. Do and .ajax call to send the values to a web service to store them against the users profile.
Sounds simple enough, assuming I can remove the Contour Submit button.
Comment author was deleted
Hey Brad,
You could also look into making a custom fieldtype for this, then you will end up with a reusable component
Details on how to create fieldtypes can be found here: http://our.umbraco.org/projects/umbraco-pro/contour/documentation/Developer/Extending-Contour/
For a razor only fieldtype check this example http://our.umbraco.org/forum/umbraco-pro/contour/40417-Creating-custom-FieldType-with-multiple-SingleLine-textboxes
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Is this possible.. Media list in Contour?
I have Umbraco 6.1.1 and Contour 3.0.12.
I'm about to start work on a new form and I'm just not sure how to go about it in Contour of if it is even possible.
I need a form that displays a list of thumbnail images from the media library from which the user can select one.
Is this sort of thing possible with Contour? How might I go about it?
Ok, the way I am going with this, is this.
I have created a simple form in Contour with the two dropdowns I need. Then I created a macro that displays all media images.
My plan is to remove the submit button from the form and add my own button that just calls some jquery that will
1. Read the two dropdowns and which image they have selected.
2. Do and .ajax call to send the values to a web service to store them against the users profile.
Sounds simple enough, assuming I can remove the Contour Submit button.
Comment author was deleted
Hey Brad,
You could also look into making a custom fieldtype for this, then you will end up with a reusable component
Details on how to create fieldtypes can be found here: http://our.umbraco.org/projects/umbraco-pro/contour/documentation/Developer/Extending-Contour/
For a razor only fieldtype check this example http://our.umbraco.org/forum/umbraco-pro/contour/40417-Creating-custom-FieldType-with-multiple-SingleLine-textboxes
is working on a reply...