Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

All other Modules /

Discuss all other Modules here.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

SecureFiles 0.21 Released - Testers + Translations please!


Go to End


44 Posts   11563 Views

Avatar
Juanitou

Community Member, 323 Posts

12 March 2010 at 12:09am

Edited: 12/03/2010 12:10am

Yes, I forgot! Here they are again (with names strangely modified by the forum engine).

Avatar
Hamish

Community Member, 712 Posts

12 March 2010 at 11:07am

Thanks for the heads up. I've updated the trunk version with the UTF8 lang files. Will have a check - although I have to admit that text encoding is not my strong point, will SilverStripe handle UTF8 properly by default?

Avatar
Juanitou

Community Member, 323 Posts

12 March 2010 at 9:44pm

Edited: 12/03/2010 10:09pm

Hi Hamish!

SilverStripe lang files are often encoded in UTF-8 without BOM. I’ve tested just now the module and I’ve not found encoding problems in the CMS.

Avatar
steeeo

Community Member, 2 Posts

18 March 2010 at 2:21am

Hi,

Thanks for this great module.

I have an issue though with the thumbnails in the CMS.
The thumbnails is not shown when viewing them in the CMS, the original images are shown instead.

For example when showing the thumbnail view in the list with images in a secure folder the original images are listed, not the generated thumbnails.

Have anyone had the same behaviour with the thumbnails?

/ Stefan

Avatar
Hamish

Community Member, 712 Posts

18 March 2010 at 1:19pm

Thanks for the feedback. Found the issue - Sapphire was being clever about figuring out which file was associated with which resampled image. I've modified the controller in the trunk version (r117) to handle this case. Try it out and let me know if it fixes your problem.

http://polemic.net.nz/svn/silverstripe/modules/SecureFiles/trunk

Avatar
Hamish

Community Member, 712 Posts

18 March 2010 at 1:20pm

FYI, this should allow it to play nice with DataObjectManager.

Avatar
steeeo

Community Member, 2 Posts

22 March 2010 at 9:33pm

Hi,

Thanks for very fast response. It works excellent now with the alternate_path in the FileFound function and the file_path in the handleAction function.

I am attaching the language files in Swedish and Finnish for you to add to the module.

Best regards,
Stefan

Avatar
Hamish

Community Member, 712 Posts

23 March 2010 at 9:42am

That's brilliant, thanks so much! In trunk now.