View ClientDownloads

The Client Downloads module provides a secure mechanism for site owners to distribute files to their site’s members.

For more details, see: http://brandnewbox.co.uk/products/details/client_downloads/

Installation

  1. Copy the contents of the language folder to system/languages/english
  2. Copy the ajw_client_downloads folder in the module folder to system/modules

In the Control Panel:

  1. Install the module

Tags

The module uses a single tag:

Client Downloads Display

Example

{exp:ajw_client_downloads:folder orderby="id"}

{if no_results}<p>There are no folders for this user</p>{/if}

<h3>{folder_title}</h3>

<p>{folder_description}</p>

<table width="100%">
    <thead>
        <tr>
            <th>Id</th>
            <th>Title</th>
            <th>Size</th>
            <th>Date</th>
            <th>Extension</th>
        </tr>
    </thead>
    <tbody>
        {if no_assets}<tr><td colspan="5">There are no assets in this folder</td></tr>{/if}
        {assets orderby="title"}
        <tr class="{switch="one|two"}">
            <td>{id}</td>
            <td><a href="{url}" class="icon icon-{extension}">{title}</a></td>
            <td>{size}</td>
            <td>{date}</td>
            <td>{extension}</td>
        </tr>
        {/assets}
    </tbody>
</table>

{/exp:ajw_client_downloads:folder}