Copied to clipboard

Flag this post as spam?

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


  • Kenny Burns 173 posts 305 karma points
    Sep 30, 2014 @ 11:18
    Kenny Burns
    0

    Sir Trevor - Link Picker

    Hello,

    First up this Sir Trevor package is awesome - Kudos!

    I am implementing some custom blocks, which, so far are going pretty well (not a lot of documentation or examples so kinda prodding in the dark!) but was wondering if anyone had any examples of how I could implment a link picker?

    This would be a block that had an image, title, text which are all in place but also an optional link field/button that opened the link window similar to what happens in the text editor when clicking on the link icon.

    Any help much appreciated!

    Cheers,

    Kenny

  • Kenny Burns 173 posts 305 karma points
    Sep 30, 2014 @ 13:00
    Kenny Burns
    0

    In case anyone else is needing it - I found a way to do this using dialogService.linkPicker

    http://umbraco.github.io/Belle/#/api/umbraco.services.dialogService

    Cheers

    Kenny 

  • Marc Stöcker 104 posts 560 karma points c-trib
    Oct 01, 2014 @ 09:28
    Marc Stöcker
    0

    Glad you found a way. A look at Pete's experimental Content Picker for ST for Umbraco may also give an idea or two: https://github.com/mindrevolution/SirTrevor-for-Umbraco/blob/master/src/App_Plugins/SirTrevor/blocks/content-picker.js

    Marc.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies