Copied to clipboard

Flag this post as spam?

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


  • Fergus Davidson 309 posts 588 karma points
    Feb 02, 2010 @ 16:56
    Fergus Davidson
    0

    can i use ultimate picker to set macro parameter?

    hi

    i am building an image gallery which is added to the page through the html editor using a macro.

    it works at the moment using the standard content picker which allows me to pick the gallery node i want to display. [ i did not want to use media folder as i wanted description and title and so on]

    i was wondering if it is possible to use the ultimate picker to specify the parameter for the macro, or is there another option that would allow me to specify the top node so that the user is only able to choose from the gallery nodes, not the whole site.

    .. or is there another option?

     

    thanks

     

  • Morten Bock 1867 posts 2140 karma points MVP 2x admin c-trib
    Feb 02, 2010 @ 18:56
    Morten Bock
    0

    Datatypes are not directly usable as macro parameters. Richard has made a blogpost on how to build your own macro parameter type here:

    http://www.richardsoeteman.net/2010/01/04/CreateACustomMacroParameterType.aspx

    Using his example you could populate the dropdown list with just the documents you want the user to be able to choose from.

  • Fergus Davidson 309 posts 588 karma points
    Feb 03, 2010 @ 10:26
    Fergus Davidson
    0

    thanks morten, i'll have a look

  • 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