Box.com File Browser

Component ID

2580647

Component name

Box.com File Browser

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

This is a simple module we created during a project in which we needed the ability to add some cloud storage to our nodes for project management. In order to simplify it and keep the cost low, we created this to dynamically add the Box.com file browser to content.

Using Field API, and the Box View API this module will be expanded on in the future to automatically create new folders in Box.com based on a token value from the node. At the moment, the user simply saves a share link in the node, and the module will create and render the embed code, along with any display settings.

Dependencies = Fields

Instructions

  • Go to Box.com, go to your prefered folder, right click and click "Share"
  • Copy the provided share link (NOT the embed code)
  • Go to your website
  • Install the module
  • Go to your content type and add a new "Box File Browser" field
  • In the field settings, paste the share link in the default value for the field
  • Go to the display settings for the field, configure and save
  • Create a new node
  • Every node can have a different share link. Just create a get the share link, and save it in the node
  • The node will then open directly to that folder

Similar Content
Drupal Box View API
Box API Documentation