Copied to clipboard

Flag this post as spam?

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


  • Tom Maton 387 posts 660 karma points
    Feb 08, 2010 @ 14:03
    Tom Maton
    0

    datatype with modal window

    Hi All,

    I'm looking to create a new datatype but would like to create it like to create it as a modal window like the media picker.

    I'm going to be creating the datatype using the 3 classes method http://www.nibble.be/?p=50

    Also I would like to be able to add the datatype to the tinymce bar at the top.

    Are there and examples podcasts showing how to do this? I have had a quick look and cant find how to do this any help appreciated.

    Thanks

    Tom

     

  • Sebastiaan Janssen 5060 posts 15522 karma points MVP admin hq
    Feb 08, 2010 @ 17:13
    Sebastiaan Janssen
    0

    Have a look at how it's done in the Umbraco source code, for example in umbraco\presentation\umbraco\controls\COntentpicker.cs.

    It's rather ugly though, injecting some javascript straight into the page..

  • Tom Maton 387 posts 660 karma points
    Feb 08, 2010 @ 17:17
    Tom Maton
    0

    Cheers Sebastiaan,

    I will take a look.

    Thanks

    Tom

Please Sign in or register to post replies

Write your reply to:

Draft