Skip to content

campfire-digital-services/liferay-dm-folder-downloader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Liferay Documents and Media Folder Downloader

liferay-dm-folder-downloader

This project provides a Liferay Portal plugin to download the contents of a Documents and Media folder (and subfolders) as a ZIP file.

Supported Products

GitHub Project Master and Branch 6.2.x

  • Liferay Portal 6.2 CE : 6.2 CE GA1 (6.2.0+)
  • Liferay Portal 6.2 EE : 6.2 EE GA1 (6.2.10+)

GitHub Project Branch 6.1.x

  • Liferay Portal 6.1 CE : 6.1 CE GA2, GA3 (6.1.1+)
  • Liferay Portal 6.1 CE : 6.1 EE GA2, GA3 (6.1.20+)

Downloads

The latest release is available from SourceForge - Documents and Media Downloader.

You can also download or install the hook from Liferay Marketplace - Documents and Media Downloader

Usage

Step 1. Navigate to Liferay Portal page containing Documents and Media portlet.

Documents and Media Portlet

Step 2. Click on the "Action" button for a folder and select the "Download Folder (ZIP)" menu item.

Documents and Media Folder Action Menu

Step 3. Open ZIP file or save to local download folder in your web browser.

Firefox Download File Dialog

Building

Step 1. Checkout source from GitHub project

Step 1.1. Checkout master from GitHub project

NOTE: GitHub master and branch 6.2.x should always be the same.

$ md work
$ cd work
$ md master
$ git clone https://github.com/permeance/liferay-dm-folder-downloader
Cloning into 'liferay-dm-folder-downloader'...
remote: Counting objects: 518, done.
remote: Compressing objects: 100% (223/223), done.
remote: Total 518 (delta 173), reused 502 (delta 157)
Receiving objects: 100% (518/518), 622.65 KiB | 273.00 KiB/s, done.
Resolving deltas: 100% (173/173), done.
Checking connectivity... done

Step 1.2. Checkout branch 6.1.x or 6.2.x from GitHub project

NOTE: This sample shows checkout for branch 6.2.x. 
      The same process applies for 6.1.x

% md work
% cd work
% md -p liferay-dm-folder-downloader/branches/6.2.x
% cd liferay-dm-folder-downloader/branches/6.2.x
% git clone https://github.com/permeance/liferay-dm-folder-downloader
Cloning into 'liferay-dm-folder-downloader'...
remote: Counting objects: 475, done.
remote: Compressing objects: 100% (199/199), done.
remote: Total 475 (delta 151), reused 470 (delta 146)
Receiving objects: 100% (475/475), 618.21 KiB | 161.00 KiB/s, done.
Resolving deltas: 100% (151/151), done.
Checking connectivity... done
% cd liferay-dm-folder-downloader
% git branch 6.2.x
% git checkout 6.2.x
Switched to branch '6.2.x'
% git status
# On branch 6.2.x
nothing to commit, working directory clean

Step 2. Build and package

% mvn -U clean package

This will build "liferay-dm-folder-download-hook-A.B.C.war" in the targets tolder.

NOTE: You will require JDK 1.6+ and Maven 3.

Installation

Liferay Portal + Apache Tomcat Bundle

eg.

Deploy "liferay-dm-folder-download-hook-A.B.C.war" to "LIFERAY_HOME/deploy" folder.

License

The Liferay Documents and Media Folder Downloader project is licensed according to the terms of the GNU General Public License Version 3.0.

Project Team

Related Projects

About

This project provides a Liferay Portal plugin to download the contents of a Documents and Media folder (and subfolders) as a ZIP file.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages