Skip to content

Latest commit

 

History

History
38 lines (21 loc) · 1.89 KB

intro.md

File metadata and controls

38 lines (21 loc) · 1.89 KB

File Entity Browser

The File Entity browser module provides a default Entity Browser that lets you browse and select your files in a nice-looking, mobile-ready Masonry based interface, and upload files using the Dropzonejs module. This module uses Entity browser to provide nice content creation experience and re-usability of core files.

Requirements

  1. Entity Browser
  2. Dropzonejs

Installation

  1. Download Entity Browser from Drupal.org.
  2. Download Dropzonejs from Drupal.org and follow the install instructions on that page
  3. Download File browser and run bower install from the file_browser directory

Usage

The File Entity browser module creates custom block type with the entity reference field on it. That entity reference field uses entity browser to attach images to that block. It demonstrates how custom blocks work and how entity browser can be used to improve media-related experience.

Creating File Browser custom block

  1. On /structure/block/block-content click +Add custom block:

Step 1

  1. Choose File Browser custom block type:

Step 2

  1. Add desired custom block name and upload files to add to your block and click Save:

Step 3

  1. At the end just click Save at the bottom of the page and your File Browser custom block is ready to be used on any region from the Block layout page.

Supporting organizations