Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I'm following this guide: I'm using the media picker directive provided by Tim, Thanks Tim!
http://www.nibble.be/?p=454
How can I open the media picker to a specific folder or (id of the folder)? This is for a custom section, custom tree.
Is it possible to prevent navigating from that folder?
You can add a property to your to set the startNodeId in your mediapicker call.
Something like this :
dialogService.mediaPicker({ startNodeId : yourNodeId, callback: yourCallbackFunction});
Dave
You can also change the media picker start node programmatically. I'm doing this in the Hybrid Framework: https://github.com/jbreuer/Hybrid-Framework-for-Umbraco-v7-Best-Practises/blob/master/Umbraco.Extensions/Utilities/WebApiHandler.cs
I explain how it works in this video: https://www.youtube.com/watch?v=Enni9r0whCE
Jeroen
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Umbraco 7 Media Picker, open to specific folder
I'm following this guide: I'm using the media picker directive provided by Tim, Thanks Tim!
http://www.nibble.be/?p=454
How can I open the media picker to a specific folder or (id of the folder)? This is for a custom section, custom tree.
Is it possible to prevent navigating from that folder?
You can add a property to your to set the startNodeId in your mediapicker call.
Something like this :
Dave
You can also change the media picker start node programmatically. I'm doing this in the Hybrid Framework: https://github.com/jbreuer/Hybrid-Framework-for-Umbraco-v7-Best-Practises/blob/master/Umbraco.Extensions/Utilities/WebApiHandler.cs
I explain how it works in this video: https://www.youtube.com/watch?v=Enni9r0whCE
Jeroen
is working on a reply...