What is symphonyextensions.com?

How do I submit an extension?

Host your extension on Github and make sure the repository has a good README and an extension.meta.xml file. Then sign in to this site using your GitHub profile where you will see a list of your public repositories. Pick one, and add it to the site. When you make changes, just update the XML file in your repository and we do the rest.

What is an extension.meta.xml file?

It is an XML file that you add to your repository to describe your extension. You can include a name and description, developer contact details, version history, changelog, dependencies and more. Please read the documentation for a full list. You can use the lint tool to check your XML against the schema before submitting your extension to the site.

Readme

Field: Unique File Upload

This extension, just like the Hashed Upload Field extension by Rowan Lewis, provides an upload field which allows multiple copies of a file to be uploaded to the same location. It will retain the filename and append a unique ID to it.

The extension uses PHP’s preg_replace function and will crop the filename (i.e. w/o file extension) to a fixed length.

Origin

This extension is a variation of the 'Hashed Upload Field' extension by Rowan Lewis.

Installation

Upload the 'uniqueuploadfield' folder in this archive to your Symphony 'extensions' folder.

Enable it by selecting the "Field: Unique File Upload", choose Enable from the with-selected menu, then click Apply.

You can now add the "Unique File Upload" field to your sections.

The Clean Filename

From version 1.6, this extension provides an additional "clean filename" in the XML output (for display purposes).

Downloading Files with the Clean Filename

If you want to download files named with a clean filename, put the following .htaccess in your upload folder. If the relevant Apache modules are available, your browser will be asked to download the file under its original name.