Step 5: Asset permissions configuration

If you want to configure who can administer asset, create new asset types and etc, you should configure permissions. Permissions are applied to Roles. If you aren't already familiar with Drupal's Role based permissions, please read Users, roles and permissions.

Asset module provides following permissions:

Step 4 (optional): Asset widget configuration

Asset widget module is included into Asset module package and is aimed to simplify Asset contribution and management.

All you need is to enable "Asset widget" module.

Module supported seven and rubik theme. Widget is not intended to work in front theme.
Admin theme settings

Widget will appear on content create/edit page if you have an appropriate permission and one of two next cases are true:

Step 3: WYSIWYG configuration

Currently module fully supports integration only with CKEditor (v3). Next roadmap steps will be performed around integration with in-place editing option (Edit module) in terms of Spark project.

Evaluation of integration with TinyMCE and Aloha editor is in progress, feel free to request this integration in Issue tracker or post you code snippets that would introduce this integration.

Configure CKEditor

Follow instruction provided here to install and configure CKEditor module.

As soon as configuration was accomplished, navigate to Administration > Configuration > Content authoring > CKEditor and for each Profile, that should support Asset input (for example, Full and Advanced), in Editor appearance configuration activate Asset plugin and appropriate buttons.

Enable Asset plugin

Enable Asset action buttons

By default set of Asset plugin buttons includes:

  • one button per activated Asset type
  • button to access Search interface

Step 2: Text formats and filters configuration

The Filter core module allows you to configure formats for text input for your site (read more about Text formats and Filters).
"Convert asset tags to markup" filter should be activated to allow Asset's markup being rendered correctly in WYSIWYG and on front-end.

Navigate to Administration > Configuration > Content authoring > Text formats and for each text format that should support Asset input (for example, Full HTML and Filtered HTML) activate "Convert asset tags to markup" filter.

Enable "Convert asset tags to markup" filter

In the Filter processing order group, you need to ensure the correct processing order. Normally, Asset module should proceed with conversion of the markup after the Limit allowed HTML tags filter. So the simplest configuration looks like this:

Put "Convert asset tags to markup" filter at ever end of the Filter processing group

Step 1: Module and requirements installation

Asset module installation

The Asset module can be downloaded and installed via the standard Drupal installation process.

The Asset module activated itself provides an API for Media Asset entities creation. Submodules can be enabled to receive additional features:

  • Predefined Asset types:
    • Image: asset_image
    • Image: asset_image
    • Video: asset_video
    • Audio: asset_audio
    • Document: asset_document
    • Gallery: asset_gallery
    • Free HTML: asset_freehtml
  • Advanced UI and contribution

    widget: asset_widget

  • Feeds integration: asset_feeds

Requirements

Contributed modules:

Predefined asset type submodules require:

  • asset_image depends on Drupal core Image module.
  • asset_audio requires jPlayer.
  • asset_video requires Emvideo module, which is submodule of asset project. Any of emvideo providers submodules should be enabled

Installation and configuration

Follow our step by step installation guide to enable / configure and profit from the module and related functionalities.

Pages

Subscribe with RSS Subscribe to RSS - installation instructions