PHPackages                             innoweb/silverstripe-upload-folder-select-handler - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [File &amp; Storage](/categories/file-storage)
4. /
5. innoweb/silverstripe-upload-folder-select-handler

AbandonedArchivedSilverstripe-module[File &amp; Storage](/categories/file-storage)

innoweb/silverstripe-upload-folder-select-handler
=================================================

Changes the default folder for choosing existing files through UploadField to the folder set with setFolder()(if set).

1.0.2(8y ago)19921BSD-3-ClausePHP

Since May 13Pushed 3y ago2 watchersCompare

[ Source](https://github.com/xini/silverstripe-upload-folder-select-handler)[ Packagist](https://packagist.org/packages/innoweb/silverstripe-upload-folder-select-handler)[ Docs](http://github.com/xini/silverstripe-upload-folder-select-handler)[ RSS](/packages/innoweb-silverstripe-upload-folder-select-handler/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (4)Used By (0)

SilverStripe default file select folder
=======================================

[](#silverstripe-default-file-select-folder)

**This is an archived project and is no longer maintained. Please do not file issues or pull-requests against this repo. If you wish to continue to develop this code yourself, we recommend you fork it or contact us.**

[![Version](https://camo.githubusercontent.com/db2dbb2f0d894ba8f338396f4df8910ed572df83c9c7a628588d40c51e68ef65/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f696e6e6f7765622f73696c7665727374726970652d75706c6f61642d666f6c6465722d73656c6563742d68616e646c65722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/innoweb/silverstripe-upload-folder-select-handler)[![License](https://camo.githubusercontent.com/a7b1da13a26bdc946a312a8dec5b028477a5152a7cd8a5e0739b09b44ac3d76b/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f696e6e6f7765622f73696c7665727374726970652d75706c6f61642d666f6c6465722d73656c6563742d68616e646c65722e7376673f7374796c653d666c61742d737175617265)](license.md)

Overview
--------

[](#overview)

Changes the default folder for choosing existing files through `UploadField` to the folder set with `setFolder()` (if set).

SilverStripe 3.2 introduced a [new default behavior for `UploadField`](https://docs.silverstripe.org/en/3.2/changelogs/3.2.0/#uploadfield-select-from-files-shows-files-in-all-folders-by-default) that shows files in all folders by default when "Select from files" is selected.

Now, if you tried to keep the assets tidy in the past, you have probably used 'setFolder()' on your UploadFields to define a folder within assets where your particular files should be uploaded to. To let a user select files from that particular upload folder, you would now have to add 'setDisplayFolderName()' as well:

```
UploadField::create('MyField')->setFolder('MyUploads')->setDisplayFolderName('MyUploads');

```

This module removes this extra step by automatically setting the display folder to the upload folder if that is defined for an `UploadField`.

### SilverStripe 4 compatibility

[](#silverstripe-4-compatibility)

This module will be obsolete by the changes introduced in [this pull request](https://github.com/silverstripe/silverstripe-asset-admin/pull/763) (probably SS 4.2). There won't be a SS4 compatible version of this module.

Requirements
------------

[](#requirements)

- SilverStripe Framework ~3.2

Installation
------------

[](#installation)

Install the module using composer:

```
composer require innoweb/silverstripe-upload-folder-select-handler dev-master

```

or download or git clone the module into a ‘upload-folder-select-handler’ directory in your webroot.

Then run dev/build.

License
-------

[](#license)

BSD 3-Clause License, see [License](license.md)

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~198 days

Total

3

Last Release

3253d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0d2e71d7787401a7bd4916062346163897f89f455d650ab32b5d60cd14825ad3?d=identicon)[xini](/maintainers/xini)

---

Top Contributors

[![xini](https://avatars.githubusercontent.com/u/1152403?v=4)](https://github.com/xini "xini (7 commits)")

---

Tags

silverstripeuploadselectfolderdefault

### Embed Badge

![Health badge](/badges/innoweb-silverstripe-upload-folder-select-handler/health.svg)

```
[![Health](https://phpackages.com/badges/innoweb-silverstripe-upload-folder-select-handler/health.svg)](https://phpackages.com/packages/innoweb-silverstripe-upload-folder-select-handler)
```

###  Alternatives

[unclecheese/dropzone

An HTML5 upload field for the CMS and frontend forms.

46130.7k6](/packages/unclecheese-dropzone)[unclecheese/silverstripe-kickassets

Provides an alternative file management interface for SilverStripe CMS with drag-and-drop, multi-selection, and several other desktop-like UI conventions.

4728.3k1](/packages/unclecheese-silverstripe-kickassets)[silverstripe/selectupload

Enables files to be uploaded into a user-designated folder

2779.1k1](/packages/silverstripe-selectupload)[axllent/silverstripe-scaled-uploads

Automatically scale down and rotate uploaded images for Silverstripe

2580.3k8](/packages/axllent-silverstripe-scaled-uploads)[unclecheese/kickassets

Provides an alternative file management interface for SilverStripe CMS with drag-and-drop, multi-selection, and several other desktop-like UI conventions.

484.0k](/packages/unclecheese-kickassets)[axllent/silverstripe-image-optimiser

Automatically optimise all uploaded &amp; resampled images in Silverstripe

1118.4k2](/packages/axllent-silverstripe-image-optimiser)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
