ddmedia Module to manage files and folders assets in a web application

DDMedia is a module for the Yii PHP framework that provides a web user interface to manage files and folders.

Supported tasks so far:

  • Browse folders
  • Create new directory
  • Upload a file
  • Rename, copy, move, delete files or folders
  • Preview for images
  • Download for files
  • Allow to select multiple items and do batch actions with them (e.g. move, delete)

Setup

Download or clone the latest release from the BitBucket git repository.

Extract the module under protected/modules/media and add the following to your application config:

return array(
    ...
    'media'=>array(
        // Base dir for media browser (app/files):
        'baseDir'=>dirname(__FILE__).DIRECTORY_SEPARATOR.'..'.DIRECTORY_SEPARATOR.'..'.DIRECTORY_SEPARATOR.'files',
    ),
    ...
);

protected/config/main.php

Please note that the module doesn't require you to use a database.

Usage

Add a link somewhere in your main menu like CHtml::link('Media Browser', array('/ddmedia')).

Screenshot

Screenshot

To Do's

  • Show media meta data on clicking an item in a sidebar widget
  • Add config option to hide/show hidden files or folders

Donate

If you like this extension and would like to buy me a coffee, please consider to donate.

Donate with PayPal

Links

5 0
17 followers
0 downloads
Yii Version: 1.1
License: BSD-2-Clause
Category: File System
Developed by: jwerner
Created on: Jan 17, 2013
Last updated: 11 years ago

Downloads

show all

Related Extensions