Client Downloads introduction
» Visit the Client Downloads support page
The Client Downloads module provides a secure mechanism for site owners to distribute files to their site’s members.
Installation
- Copy the system/expressionengine/third_party/ajw_client_downloads folder to your system/expressionengine/third_party folder
- Copy the themes/third_party/ajw_client_downloads folder in the module folder to your site’s themes/third_party folder
In the Control Panel:
- Install the module
Tags
The module uses a single tag:
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}