Copied to clipboard

Flag this post as spam?

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


  • SinkyPars 132 posts 175 karma points
    Sep 05, 2011 @ 17:35
    SinkyPars
    0

    Custom Macro Parameter

    hi guys,

    I am looking to creat a macro that takes the related links datatype as a parameter.

    Is this at all possible?

    Any help/advice is much appreciated.

    Kind regards

    Scott

  • Dirk De Grave 4537 posts 6006 karma points MVP 3x admin c-trib
    Sep 05, 2011 @ 17:45
    Dirk De Grave
    0

    Hi Scott,

    it is possible, but you'll need to write some c# code and implement interface IMacroGuiRendering before you can use the related links as a macro parameter. Once implemented, you need to add some records to the db so umbraco can load your new macro parameter type.

    Can find a sample on Richard's blog.

    Cheers,

    /Dirk

  • 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