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?
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
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?
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).
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"
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
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?
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
Posted a quick solution in your other thread :)
Nice one Tom! I got dragged into a meeting and you beat me to it!
:)
is working on a reply...