Copied to clipboard

Flag this post as spam?

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


  • dominik 711 posts 733 karma points
    Mar 18, 2011 @ 09:09
    dominik
    0

    Create Bannertool - Multipicker question

    hello,

    I want to create a banner management tool.
    It should be able to show banner on different pages and between different dates etc.

    I added a new media type called "banner image" with an multipicker for content. Now on every item i selected via the multiple content picker the banner should be shown.

    How can i put this information into the template? i think i have to create a macro which looks if there is any media item for the current id or?

  • Tim 1193 posts 2675 karma points MVP 4x c-trib
    Mar 18, 2011 @ 10:10
    Tim
    0

    Are you using a uComponents multipicker? If so, check out the docs on codeplex, there's an example ofthe XSLT here: http://ucomponents.codeplex.com/wikipage?title=MultiNodeTreePicker&referringTitle=Documentation (scroll down to the bottom).

  • dominik 711 posts 733 karma points
    Mar 18, 2011 @ 10:30
    dominik
    0

    Thanks for this link.

    I looked into but what i have to change if i use an own datatype that uses the multipicker?

    tha alias of this is "bannerShowOnPage"

  • dominik 711 posts 733 karma points
    Mar 18, 2011 @ 11:09
    dominik
    0

    i changed treePicker to "bannerShowOnPage" but it does not show anything.

    I put the macro in the master template

    Perhaps I cannnot use Multipicker not on MediaTypes?

    I just want to select the content for my banner

  • Tim 1193 posts 2675 karma points MVP 4x c-trib
    Mar 18, 2011 @ 15:09
    Tim
    0

    You should be able to use the multipicker on media, what datatype is the "bannerShowOnPage" property?

    Do you have the banner flagged against the content nodes? Or do you choose the banners in content pages?

  • dominik 711 posts 733 karma points
    Mar 18, 2011 @ 15:12
    dominik
    0

    bannerSchowOnPage has the Datatype "Multi Node Tree picker".

    I want to add for each image / banner the content where it should appear via MNTP. I dont want to choose the banner in the content pages i just want to use the mutli node tree picker to select where it should appear.

    The XSLT should look if on the current pages there is an image connected to the ID and show the banner. But i cant get it working

  • Tom Fulton 2030 posts 4998 karma points c-trib
    Mar 18, 2011 @ 15:26
    Tom Fulton
    0

    Posted a quick solution in your other thread :)

  • Tim 1193 posts 2675 karma points MVP 4x c-trib
    Mar 18, 2011 @ 16:10
    Tim
    0

    Nice one Tom! I got dragged into a meeting and you beat me to it!

    :)

Please Sign in or register to post replies

Write your reply to:

Draft