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 found this tutorial on how to build your own field type for contour: http://www.nibble.be/?p=89
The post is quite old, but is this still valid for v7/MVC-scenario?
/D
(looking to build a checkboxlist with images rather than text)
Comment author was deleted
nope it's easier for mvc let me get you an example
check it out http://www.nibble.be/?p=154
some more details here http://our.umbraco.org/forum/umbraco-pro/contour/37649-Contour-3-(Razor),-Custom-FieldType-(FileUpload)
think you can use this as a starting point https://contourstrikesagain.codeplex.com/ you'll just have to add the razor stuff (it already has a custom fieldsetting type to be able to select media)
so the
https://contourstrikesagain.codeplex.com/SourceControl/latest#ContourStrikesAgain/Providers/FieldSettingTypes/MediaPicker.cs
and
https://contourstrikesagain.codeplex.com/SourceControl/latest#ContourStrikesAgain/Providers/FieldTypes/MediaRadioButtonList.cs
then you just need to razor view
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Custom fieldtype
I found this tutorial on how to build your own field type for contour: http://www.nibble.be/?p=89
The post is quite old, but is this still valid for v7/MVC-scenario?
/D
(looking to build a checkboxlist with images rather than text)
Comment author was deleted
nope it's easier for mvc let me get you an example
Comment author was deleted
check it out http://www.nibble.be/?p=154
some more details here http://our.umbraco.org/forum/umbraco-pro/contour/37649-Contour-3-(Razor),-Custom-FieldType-(FileUpload)
Comment author was deleted
think you can use this as a starting point https://contourstrikesagain.codeplex.com/ you'll just have to add the razor stuff (it already has a custom fieldsetting type to be able to select media)
Comment author was deleted
so the
https://contourstrikesagain.codeplex.com/SourceControl/latest#ContourStrikesAgain/Providers/FieldSettingTypes/MediaPicker.cs
and
https://contourstrikesagain.codeplex.com/SourceControl/latest#ContourStrikesAgain/Providers/FieldTypes/MediaRadioButtonList.cs
Comment author was deleted
then you just need to razor view
is working on a reply...