I'm quite new to the DAMP-package but I was wondering, is there a way to search for a specific media item inside the picker?
Let's say we have alot of files in a folder and i want to filter the list using some kind of text-field, if I where to type "test", only images with the name of text would appear?
If DAMP don't do this, is there any other packages out there that does? Or could it be added?
It should be possible. If you search I think it will be hard to filter the tree on the left, but if you only filter the displayed thumbnails in the middle you probably can do that. It's currently using an XPath to display the thumbnails in the middle so you would need to extend that. In this file you can see the Xpath in the GetAllMediaItems method: http://damp.codeplex.com/SourceControl/changeset/view/62425cfc1854#DigibizTree%2fDigibizService.cs. It would be a nice feature for DAMP 3.0 so if you want to contribute that would be nice :).
I have had a fast look at the source and it feels like it's going to take me to much time to implement this since I have not worked with the package before. But what I was looking for was something like this:
Search in the media picker
Hi!
I'm quite new to the DAMP-package but I was wondering, is there a way to search for a specific media item inside the picker?
Let's say we have alot of files in a folder and i want to filter the list using some kind of text-field, if I where to type "test", only images with the name of text would appear?
If DAMP don't do this, is there any other packages out there that does? Or could it be added?
Hello,
I'm sorry but DAMP doesn't have a search functionality and I don't know any other packages that do.
Jeroen
Hi!
Thank you Jeroen! Would it be something that could be implemented? Or do you think that it would be hard? I think I'm willing to contribute if needed.
// Markus
It should be possible. If you search I think it will be hard to filter the tree on the left, but if you only filter the displayed thumbnails in the middle you probably can do that. It's currently using an XPath to display the thumbnails in the middle so you would need to extend that. In this file you can see the Xpath in the GetAllMediaItems method: http://damp.codeplex.com/SourceControl/changeset/view/62425cfc1854#DigibizTree%2fDigibizService.cs. It would be a nice feature for DAMP 3.0 so if you want to contribute that would be nice :).
Jeroen
Great!
When are you planing to release? I'll have a look at the source and see what can be done.
// M
There is no release date yet. I first want to wait what will change in 4.9 since it will also have a lot of media improvements.
Jeroen
I see!
I have had a fast look at the source and it feels like it's going to take me to much time to implement this since I have not worked with the package before. But what I was looking for was something like this:
http://papermashup.com/jquery-list-filtering/
Search is now part of DAMP 2.5 :)
Jeroen
Great news!
is working on a reply...
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.