You are here

README.txt in Views Media Browser 7

Same filename and directory in other branches
  1. 7.2 README.txt
CONTENTS OF THIS FILE
----------------------

  * Introduction
  * Installation
  * Configuration
  * Known issues


INTRODUCTION
------------

This module is an enhancement to the media module. It adds a new plugin so that
you can use a view to list and organize your files. The main advantage of this
is that you can add custom fields to your file entities, and then add those
fields to the media browser view. When managing files, you can filter your files
via any exposed filters in the view.

Sample use case: Filtering by taxonomy 

INSTALLATION
------------

1. Make sure you have met all the module dependencies.

   The following modules and their dependencies need to be present before you 
   can enable this module:
   - Media (+ File Entity)
   - Views (+ CTools)
   This module has been tested with Media 7.x-2.x-dev and Views 7.x-3.0-rc1

2. At admin/build/modules, enable the views_media_browser module, which is
   located in the Media group.

3. Verify that the media browser view was reverted correctly at: 
   /admin/content/media_browser
 
   There should be links labeled "Thumbnails" and "List" and you are looking
   at the "Thumbnails" page by default.

CONFIGURATION
-------------

These steps will guide you through one of the possible use cases. In this use 
case, we will add a term reference (taxonomy) filter to the media browser view: 

1. Media browser does not play well without clean URLs. Take a moment and make
   sure you have them turned on.

2. Add a field to your image content type (or any other file type).

   To do that, go to /admin/config/media/file-types and click on manage fields.

3. Once you added this field, you will be able to use it when you edit files via
   /admin/content/media and clicking the edit link. Your new field should show
   up in the edit form.

4. If you have the views_ui module enabled, then you can customize the view at
   /admin/structure/views/view/views_media_browser/edit and add the field that 
   you added in step 2 as an exposed filter. If the field is multi-select for 
   users, make sure that you check the reduce duplicates, or your file will 
   appear more than once.

   Save the view.

5. Go back to the media browser at /admin/content/media_browser. You should now
   have a nice exposed filter to narrow down the selection of your files.

KNOWN ISSUES
------------
1. Clean URLs need to be turned on for the media browser to work correctly.

File

README.txt
View source
  1. CONTENTS OF THIS FILE
  2. ----------------------
  3. * Introduction
  4. * Installation
  5. * Configuration
  6. * Known issues
  7. INTRODUCTION
  8. ------------
  9. This module is an enhancement to the media module. It adds a new plugin so that
  10. you can use a view to list and organize your files. The main advantage of this
  11. is that you can add custom fields to your file entities, and then add those
  12. fields to the media browser view. When managing files, you can filter your files
  13. via any exposed filters in the view.
  14. Sample use case: Filtering by taxonomy
  15. INSTALLATION
  16. ------------
  17. 1. Make sure you have met all the module dependencies.
  18. The following modules and their dependencies need to be present before you
  19. can enable this module:
  20. - Media (+ File Entity)
  21. - Views (+ CTools)
  22. This module has been tested with Media 7.x-2.x-dev and Views 7.x-3.0-rc1
  23. 2. At admin/build/modules, enable the views_media_browser module, which is
  24. located in the Media group.
  25. 3. Verify that the media browser view was reverted correctly at:
  26. /admin/content/media_browser
  27. There should be links labeled "Thumbnails" and "List" and you are looking
  28. at the "Thumbnails" page by default.
  29. CONFIGURATION
  30. -------------
  31. These steps will guide you through one of the possible use cases. In this use
  32. case, we will add a term reference (taxonomy) filter to the media browser view:
  33. 1. Media browser does not play well without clean URLs. Take a moment and make
  34. sure you have them turned on.
  35. 2. Add a field to your image content type (or any other file type).
  36. To do that, go to /admin/config/media/file-types and click on manage fields.
  37. 3. Once you added this field, you will be able to use it when you edit files via
  38. /admin/content/media and clicking the edit link. Your new field should show
  39. up in the edit form.
  40. 4. If you have the views_ui module enabled, then you can customize the view at
  41. /admin/structure/views/view/views_media_browser/edit and add the field that
  42. you added in step 2 as an exposed filter. If the field is multi-select for
  43. users, make sure that you check the reduce duplicates, or your file will
  44. appear more than once.
  45. Save the view.
  46. 5. Go back to the media browser at /admin/content/media_browser. You should now
  47. have a nice exposed filter to narrow down the selection of your files.
  48. KNOWN ISSUES
  49. ------------
  50. 1. Clean URLs need to be turned on for the media browser to work correctly.