James Gollan d.o: gollyg twitter: gollyg. Overview Files in Drupal 7 The media suite of modules Site recipe: Adding media to your site.

Slides:



Advertisements
Similar presentations
Support.ebsco.com Australia/New Zealand Reference Centre Basic Searching Tutorial.
Advertisements

Publication Module using back end interface. Institution Data Entry Add Documents. Edit/Delete Documents that are added but not yet sent to Institution.
A Toolbox for Blackboard Tim Roberts
An Introduction to Using
User Friendly Entity Reference Select Lists
EndNote. What is EndNote:  EndNote is referencing software that enables you to create a database of references from your readings. Your database of references.
Web Content Management System Website Maintenance Demonstration Introduction to Macromedia Contribute Jamie Uprichard.
E-Portfolio Using sites.Google.com. Why Google? Easy to use Easy to share Accessible Permanent.
Wrapping Views around your fingers 1. 2 Dennis Solis Solis Media Group Solis Media Group Over 20 years of application software development. Over 20 years.
1 StudyNet New Features Learning Technology Development Unit (Peter Berrisford, Dr Andy Oliver) September 2006.
Drupal Create a website/web app quickly with this Content Management System Jiaying Xu Spring 2011 COMS E6125 Web-enHanced Information.
Atlast.ti Training Manual Part 5: Advanced Functions.
PayDox applications All features can be used independently.
New School Websites Teacher Pages. Visit the SCUSD Website for videos tutorials: For more information.
Build a CMS Website. The topics this chapter covers are: What is CMS ? What you can do with CMS The benefits and disadvantages of using a content management.
The 12 screens to follow contain a number of Tool descriptions, some instructions on their use, and in some cases a Task or two. If you dedicate one hour.
PDF Wikispaces Blogging PBWorks You are now ready to cut the red ribbon and unveil your project to your intended audience.
Danielle Baldwin, ITS Web Services CMS Administrator Application Overview and Joomla 1.5 RC 1 Highlights.
© 2012 Boise State University1 WordPress Training February 14, 2013.
Proprietary & Confidential The Thread That Ties it All Together Voicethread and Discovery Education Jennifer Dorman denblogs.com/jendorman.
>To add a component via Page Editor, go to the View tab and check the Designing checkbox to enter Designing mode. >Next, simply click the Component button.
Drupal Training Syllabus Chaitanya Lakshmi
2015 Webmaster Training. 1.Site Navigation RWD Structure Sharing content areas 2.Dynamic Content Updates News/Blog Containers Calendars – Priority, Standard.
EMu New Features 2015 Ian Brown. EMu 4.2 Edit in a single language 4.2 (Previously for multi-lingual systems all languages had to be edited simultaneously)
INTRODUCTION TO FRONTPAGE. TOPICS TO BE DISCUSSED……….  Introduction Introduction  Features Features  Starting Front Page Starting Front Page  Components.
TERMINALFOUR SiteManager Introduction January, 2014.
Vendor Module Screens. Screen 1 - Vendor Material This feature allows VENDOR to enter PO and list all the material from that vendor. This will help vendor.
© 2012 Boise State University1 WordPress Training February 14, 2013.
Eric Westfall – Indiana University Jeremy Hanson – Iowa State University Building Applications with the KNS.
Home Media Network Hard Drive Training for Update to 2.0 By Erik Collett Revised for Firmware Update.
Welcome to Sitefinity CMS training! Presented by: Philip Zorn & Tony Young.
© 2004 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice SISP Training Documentation Template.
Nancy Severe-Barnett Program Coordinator, SCIS
Saving and printing Section 4. Objectives Student will learn about print a web site, download files from the internet.
Moodle (Course Management Systems). Glossaries Moodle has a tool to help you and your students develop glossaries of terms and embed them in your course.
Drupal Commerce Better than Uber Andrew Root: druroot.
Duty Log and Chat Setup SSG Frese, Jerome S. Sensor Manager Cell 12 MDD.
Building Applications with the KNS. The History of the KNS KFS spent a large amount of development time up front, using the best talent from each of the.
Drupal Overview Prepared by : Agustin D. Gumogda Jr. Instructor.
What’s new in Kentico CMS 5.0 Michal Neuwirth Product Manager Kentico Software.
Foxbright – Smarter Education Websiteswww.foxbright.com Foxbright Training Foxbright Teacher Pages
EndNote. What is EndNote? EndNote is referencing software that enables you to create a database of references from your readings.
Artezio LLC Address: 3G Gubkina Str., suite 504, Moscow, Russia, Phone: +7 (495) Fax: +7 (495)
Table of Contents TopicSlide Administrator Login 2 Administrator Navigations 3 Managing AlternativeDr.com Blogs 4 Managing Dr. Lloyd May Blogs 5 Managing.
MICROSOFT WORD 2010 Lesson 6: Word Templates. The goal of this lesson is for the students to successfully create and work with templates. The student.
Hubnet Training One Health Network South East Asia Network Overview | Public and Members-only Pages; Communicating and Publishing using Blogs and News.
Embedding a Video, Image or Other Content Another way to add video or other content into your pages is through embedding. A popular example of this is.
: Information Retrieval อาจารย์ ธีภากรณ์ นฤมาณนลิณี
Resources in Moodle Dubravka Crnić. Moodle supports a range of resource types which teachers can add to their courses. In edit mode, a teacher can add.
Developer Exam Preparation Thom Robbins Bryan Soltis
Create Your Own Wiki Wetpaint Tutorial
Views: From the Beginning John Fiala Twitter: jcfiala Vintage Digital.
What is New with the Website?
Dreamweaver – Setting up a Site and Page Layouts
Interact 2: Options for organising and presenting content
Kentico CMS Essentials Training Self Paced
Basics of Drupal for Researchers, part 2
CONTENT MANAGEMENT SYSTEM CSIR-NISCAIR, New Delhi
Holdings Management Overview
Adding Assignments and Learning Units to Your TSS Course
INFM 603 Main Class Project
denblogs.com/jendorman
Lesson 9: GUI HTML Editors and Mobile Web Sites
One Content Type to Rule Them All
Consult America Technology Consulting Services
Dongwhan Kim Annie Zhao Steven Lawrance
Slides prepared by Sarah Benis Scheier-Dolberg
ASSETS, SNIPPETS & COMPONENTS
Presentation transcript:

James Gollan d.o: gollyg twitter: gollyg

Overview Files in Drupal 7 The media suite of modules Site recipe: Adding media to your site

Files in Drupal 7

Drupal 7 - File entities Files in Drupal 7 are handled as entities Files are attached using a file field (or an image field) This creates an entity reference to the file

Managed vs unmanaged files The File API provides functionality for working with files Files can be 'managed' or 'unmanaged' Managed files have a corresponding entry in the 'file_managed' table Operations on managed files update this table Unmanaged files are not 'known' to Drupal, and cannot be referenced or re-used (except via raw links)

Stream wrappers A stream is simply a resource object Drupal stream wrappers are an extension of PHP's stream wrapper functionality Stream wrappers are referred to using a standard pattern: scheme://target core stream wrappers include: public:// private:// temp:// PHP also provides a number of stream wrappers

File usage Drupal 7 tracks file usage, and will lock a file that is currently in use by making an entry in the 'file_usage' table "In use" means that it is referenced from a node This prevents accidental file deletion, and allows for better file management

That's all great, but... File entities are NOT field-able File entities are not easily re-usable There is no interface for managing file entities enter...

The Media module

Media Module “Media's aim is to solve Drupal's long standing media handling problem.” “The framework provided by the Media module is helping to unify many of the current multimedia and file efforts, acting as a springboard to future development.”

Current state Media currently has 2 main branches: 7.x-1.x (currently at RC3) 7.x-2.x (currently unstable) dependency on file_entity module...

File entity module Makes files field-able. (Yay)! Makes files re-usable. (Yay * 2)! Provides an administrative interface for files on the system Provides a UI for managing file display modes

File_entity module (cont.) Defines 6 file_entity bundles, based upon common MIME types: video image audio text application other Places files into one of the above bundles, based upon file extension

Media module Provides a unified and extensible widget for handling file uploads Provides a formatter for displaying file_entities of any type Provides various api functions for integrating with core file handling, file styles, stream wrappers, and making the whole system pluggable with extra file providers

Site recipe: Adding media to your site

Setup Use the following modules: Media (7.x-2.x branch) mediaelement (mediaelement 7.x-1.x-dev) libraries media_youtube ckeditor (the library, not the module) wysiwyg file_element

Setup Oh, and this patch :-| and this extra little bit of code...

Configure the node bundle Add a file field to a content type Select the 'media' formatter From the node display page, set the file field display configuration to ‘Media’ and choose an appropriate view mode for the field display

Configure the file display Visit the file management screen. From the ‘Manage file display’ link, assign the correct formatters for the file. Note that you can assign more than one formatter to a file - the first applicable formatter will be applied. Change the display on the node type to refer to the correct display mode.

Adding metadata Visit the file management screen. From the ‘Manage fields’ link. Add any fields that you want on the file bundle. Change the display on the node type to refer to the correct display mode.

Configure input formats and CKeditor Download CKeditor to libraries folder Add media filter Add button to CKeditor Enable correct input format

Drawbacks File access still not implemented Files inserted via the WYSISYG are not inserted into the file_usage table, meaning that accidental deletion is possible, and there is no easy way of auditing these files No option to add meta-data when uploading a file Browsing a large number of files in the widget difficult Many functions and features still a *bit* fragile (currently over 100 open bugs)

Find out more irc: #drupal-mediarupal-media