MODX EXTRA

FileSluggy

MODX Plugin to sanitize filename after uploading it.

Creator: Sterc Agency (sterc)

Download (36 KB)

Screenshots

About FileSluggy

A MODx Revolution plugin to convert a filename to lowercase and removes strange and unwanted characters. Also has the option to sanitize directory names when creating or renaming directories.

Uses the OnFileManagerUpload, OnFileManagerDirCreate and OnFileManagerDirRename system events and also invokes custom system events FileSluggyOnUpdateDirname and FileSluggyOnUpdateFilename.

Suggestions and Bugs can be submitted on Github: https://github.com/sterc/filesluggy/issues

Free Extra
This is a free extra and the code is publicly available for you to change. The extra is being actively maintained and you're free to put in pull requests which match our roadmap. Please create an issue if the pull request differs from the roadmap so we can make sure we're on the same page.

Need help? Approach our support desk for paid premium support.

Information

Released
June 17, 2020
Supported Versions
2.2 – Current
Downloads
4,222
License
GPLv2

New in FileSluggy 1.3.3

FileSluggy 1.3.3

==============

- Added compatibilty for MODX 3 (flysystem).

FileSluggy 1.3.2

==============

- Prevent adding of guid to directories (issue #8).

FileSluggy 1.3.2

==============

- Wrap baseName in realpath function (Issue #10).

- Remove check for resource/media browser pages (issue #15).

- Add custom system events FileSluggyOnUpdateDirname and FileSluggyOnUpdateFilename

FileSluggy 1.3

==============

- Trigger plugin only on resource and media browser manager pages.

FileSluggy 1.2

==============

- Added directory name converting

FileSluggy 1.1

==============

- BugFixes: Issue #1 & Issue #2 : If File already has a good name don change the name.

FileSluggy 1.0

==============

- Initial release.

January 21, 2016

Filesluggy is now contentblocks compatible.

Previous fixes

#1 FileSluggy with a S3 Media Source#2 Marks a file as duplicate when filename is correct, and needs no changes.

Previous new features

#3 Constrain FileSluggy to mediasources

More

Previous Versions

1.3.0-pl
January 21, 2016
2.2 – Current
1.2.0-pl
July 10, 2015
2.2 – Current
1.1.0-pl
December 7, 2013
2.2 – Current
1.0.0-rc
June 24, 2013
2.2 – Current
More

More from Sterc Agency

FI

FormIt

Form processor for MODX

Ba

Batcher

Batcher is a batch-editing Extra for MODX Revolution. It allows you…

im

imageCropper

Add cropper for images in MODX media manager

SE

SEO Tab

The best way to perform in search engines