Remeber xsl:when stops when it reaches something that's true... So it would never try to execute the mediapicker-code, if something's selected at the contentpicker etc.
uComponents' URL Picker has a choice for "Content" and "Media", you can disable the others. Think that's the closest you will get at the moment without 2 separate properties
I thought about it - but i just really like the idea of having only one picker and not having to teach the user about remembering to delete the content node etc.
But its workable - thanks Berntsen.
Could it be possible to make the content picker a media picker at the same time?
Datatype that can pick from media and content
I need a datatype that can pick nodes from both content and media - it doesnt have to pick multiple nodes just be able to pick both types.
How would you guys do that?
Why not going with two properties on your documenttype? And making one of them more important?
Select from Content (contentpicker)
Or select from Media (mediapicker)
Then in your XSLT, do something like this:
That's how I normally solve it... :)
Remeber xsl:when stops when it reaches something that's true... So it would never try to execute the mediapicker-code, if something's selected at the contentpicker etc.
uComponents' URL Picker has a choice for "Content" and "Media", you can disable the others. Think that's the closest you will get at the moment without 2 separate properties
I thought about it - but i just really like the idea of having only one picker and not having to teach the user about remembering to delete the content node etc.
But its workable - thanks Berntsen.
Could it be possible to make the content picker a media picker at the same time?
You posted at the same time Tom, that sounds like a nice solution - will work with it :)
is working on a reply...