You are here

README.txt in Workbench Media 7

Same filename and directory in other branches
  1. 7.2 README.txt

README file for Workbench Media.

File

README.txt
View source
  1. /**
  2. * @file
  3. * README file for Workbench Media.
  4. */
  5. Workbench Media
  6. Workbench integration for the File, File Entity, and Media modules.
  7. CONTENTS
  8. --------
  9. 1. Introduction
  10. 1.1 Use-case
  11. 1.2 Examples
  12. 2. Installation
  13. 3. Permissions
  14. 4. Configuration
  15. 5. Using the module
  16. 6. Troubleshooting
  17. 7. Developer notes
  18. 7.1 API documentation
  19. 7.2 Database schema
  20. 8. Feature roadmap
  21. ----
  22. 1. Introduction
  23. Workbench Media provides integration with the File, File Entity, and Media
  24. modules for Workbench and its suite of modules.
  25. Workbench Media provides some basic file management within the Workbench
  26. framework; essentially, it allows users to see all files that have been
  27. uploaded to the site.
  28. ----
  29. 1.1 Use-case
  30. Media module is a solution for managing various media files including
  31. images, video, and audio. The Media Workbench module allows a user to add
  32. media items without having to leave the Workbench.
  33. A typical request from clients is to re-use files that have already been
  34. uploaded to a site. Any type of file might be re-used: PDF, PNG, ZIP.
  35. ----
  36. 1.2 Examples
  37. To support large numbers of photo galleries or slideshows it's nice to provide
  38. a reverse lookup. Create your photo gallery, then create media items and
  39. use a node reference field to choose which gallery will display the media item.
  40. Adding a media item on its own requires having access to Find Content -> Media
  41. tab. We wanted to simplify where content administrators need to go to add
  42. any content.
  43. ----
  44. 2. Installation
  45. Workbench and Media are required in order to install Workbench Media.
  46. ----
  47. 3. Permissions
  48. Permissions need to be set for Media and Workbench Media modules in order to
  49. make use of Workbench Media.
  50. Workbench Media has one permission:
  51. -- Use the media add form
  52. Allows the user to add media directly from the Create Content tab.
  53. A typical permission setup so that a user can take advangate of Workbench Media
  54. looks like:
  55. Media Permissions
  56. -- View media
  57. -- Edit media
  58. Workbench
  59. -- Access My Workbench
  60. Workbench Media
  61. -- Use the media add form
  62. A user needs the "Access My Workbench" permission which is a general
  63. Workbench permission setting. If a user has Access My Workbench permission,
  64. then she can access Workbench Files.
  65. ----
  66. 4. Configuration
  67. There is no specific configuration for Workbench Media.
  68. ----
  69. 5. Using the module
  70. When viewing the Workbench, you can access media items in two ways.
  71. Click the Create Content tab. The Create Media list is at the top. Click
  72. Upload Media. From there you select a file to upload. Click Save, and it is
  73. saved as a media item.
  74. Media items are entities. You can easily expand a media item to contain any
  75. important meta data you want to store with the uploaded file. Learn more at
  76. http://drupal.org/project/media
  77. Back in My Workbench, you can see media you have uploaded in the File List tab.
  78. When viewing My Workbench, you will see that Workbench Media adds a tab
  79. called "File List". Click this tab.
  80. The File List tab provides a list of all files that have been uploaded to the
  81. site. Typical web image file formats (like jpg, png, gif) will include a
  82. thumbnail of the image in the Type column. Other file types like PDF display a
  83. icon representing the file type.
  84. The list includes which nodes use the file, the URL as well as the filepath
  85. (e.g. public://filename.pdf).
  86. ----
  87. 6. Troubleshooting
  88. When I add media, I get a Permission Denied error when I click save.
  89. -- Fix this by setting the "View media" and "Edit media" permissions for your
  90. user role.
  91. ----
  92. 7. Developer notes
  93. The following section documents technical details of interest to developers.
  94. ----
  95. 7.1 API documentation
  96. Workbench Media does not offer an API.
  97. ----
  98. 7.2 Database schema
  99. Workbench Media does not create any tables during installation.
  100. ----
  101. 8. Feature roadmap
  102. We think some of the changes made for Workbench Media may roll back into Media.
  103. Workbench Media has been merged with Workbench Files. Please see "tasks" in the
  104. Workbench Media issue queue for information on the current direction:
  105. http://drupal.org/project/issues/workbench_media?status=Open&categories=task