1.2releasedReflected Upload Field

An upload field that dynamically renames files (based on values from other fields in the same entry).

Clone URLhttps://github.com/twiro/reflecteduploadfield.git

Add as a submodulegit submodule add https://github.com/twiro/reflecteduploadfield.git extensions/reflecteduploadfield --recursive

Compatibility

2.x.x2.1.x2.2.x2.3.x2.4.x2.5.x2.6.x2.7.0
NoNoNo1.11.21.2NoNo. Soon?

Readme

Symphony CMS : Reflected Upload Field

An upload field that dynamically renames files (based on values from other fields in the same entry).

1. Installation

  1. Upload the /reflecteduploadfield folder in this archive to your Symphony /extensions folder.
  2. Go to System > Extensions in your Symphony admin area.
  3. Enable the extension by selecting the 'Field: Reflected File Upload', choose 'Enable' from the 'With Selected…' menu, then click 'Apply'.
  4. You can now add the 'Reflected File Upload' field to your sections.

2. Configuration & Usage

This field enables you to specify the naming expression using XPath (like in the reflection field). When uniqueness is important you can enable the "Always create unique name" option. This will add "Unique Upload Field" behavior by appending a unique token to the filename.

3. Acknowledgements

This extension is based on Unique Upload Field and Reflection Field.

Version history

Symphony 2.3.3 to 2.5.x

  • Added compatibility with Symphony 2.3.3
  • File Path no longer saved as part of the file name
  • Updated readme and licence

Symphony 2.3.0 to 2.3.2

  • Added compatibility with Symphony 2.3.0
  • Fix when removing a file and not picking a new one

Requires Symphony 2.2.1