Mega Upload Documentation

Mega Upload Documentation

Installation and Updating

Installing

  1. Within the /system/expressionengine/third_party/ directory, copy the mega_upload folder into your sites ./system/expressionengine/third_party/ directory.
  2. Within the /themes/third_party/ directory, copy the mega_upload folder into your sites./themes/third_party/ directory.
  3. Go to the Modules area in the ExpressionEngine control panel, find Mega Upload in the list, and click Install.

Updating

  1. Within your sites ./system/expressionengine/third_party/ directory, delete the mega_upload folder and upload the new one from the /system/expressionengine/third_party/ directory in your download package.
  2. Within your sites ./themes/third_party/ directory, delete the mega_upload folder and upload the new one from the /themes/third_party/ directory in your download package.
  3. Go to the Modules area in the ExpressionEngine control panel and click the Run Module Updates button.

Using Mega Upload

Mega Upload is a fieldtype and doesn’t require any special tag.

To insert Mega Upload within your template you just use the channel field directly. The actual field will provide you the actual URL of the file just like ExpressionEngine’s own file fieldtype.

Variable Tag Pair

Variable Description
{filename} Filename of the file uploaded.
{extension} Extension name of the file uploaded.
{path} Path to the file uploaded.

Examples

Normal fieldtype usage

1
2
3
4
{exp:channel:entries channel="about"}
    <h2>{title}</h2>
    <p><a href="{mega_upload_field}">Download File</a></p>
{/exp:channel:entries}

Tag Pair usage

1
2
3
4
{exp:channel:entries channel="about"}
    <h2>{title}</h2>
    <p>Filename: {mega_upload_field} {filename}.{extension} {/mega_upload_field}</p>
{/exp:channel:entries}

Support

Having problems setting up and/or using Mega Upload? Support is offered from 10am to 4pm EST weekdays. Send us an email at help@eeharbor.com and we will respond as quickly as we can.