Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


These support forums are now closed for new topics and comments.
Please head on over to http://eureka.ucommerce.net/ for support.

  • Damon 3 posts 22 karma points
    May 28, 2015 @ 00:49
    Damon
    0

    UCommerce Custom Data Type for supporting Multiple Media Picker

    Hi, I have read the documentation for creating custom data types. However you seem to be limitted with only returning standard .net controls in the UI. I would like to have a Multiple Media Picker that comes with Umbraco 7 in my data types so that I can select multiple images for my products, is there anyway to achieve this?

    Thanks,

    Damon

  • Damon 3 posts 22 karma points
    Jun 02, 2015 @ 12:15
    Damon
    0

    Has anyone done something like this before? I would really appreciate any tips or help with this..

  • Søren Spelling Lund 1797 posts 2786 karma points
    Jun 02, 2015 @ 12:36
    Søren Spelling Lund
    0

    Hi Damon,

    You can use any HTML inside your controls and thus use jQuery, Angular, etc.. There are many examples of control factories which do this in uCommerce OOTB.

    Take a look at the RichTextControlFactory which uses jQuery to insert TinyMCE or the media/content pickers, which use Angular to do it.

    A tool like dotPeek will reveal details in addition to the docs on the website.

    Hope this helps.

  • Damon 3 posts 22 karma points
    Jun 04, 2015 @ 01:39
    Damon
    0

    Hi Soren, thank you for your reply, I have managed to use the RichTextControlFactory and implement it using dotPeek, but unlike what you suggested I couldnt find any example on implementing multi image picker in uCommerce, I am not sure what exactly I can inject into the TinyMCE in order for it to display the multi image picker on UI, enabling me to pick number of images directly from my media folders. I would really appreciate if you could forward me to an example.

    Thanks again

    Damon

  • Søren Spelling Lund 1797 posts 2786 karma points
    Jun 16, 2015 @ 09:31
    Søren Spelling Lund
    0

    Hi Damon,

    Selecting multiple images was introduced in uCommerce with version 6.6.6 or better. If you can upgrade to 6.7.1, which is the latest version you should be good to go if you set up a new datatype with the new control factory.

    Hope this helps.

Please Sign in or register to post replies

Write your reply to:

Draft