On Jan 30, 12:54 am, Nic <[EMAIL PROTECTED]> wrote: > We are developing a website with a lot of pdf-files with FarCry 4-0-6 > (SVN). But there“s a problem when I upload a pdf file to the Media > Library and link it to the content, the naming of the pdf-file will be > changed. > > If I use "working_online_en.pdf", it will be changed to > "workingonlineen.pdf". > > Where can we adapt it? Do we have to revise the coding for the user- > friendly URL's?
This is nothing to do with the FriendlyURL sub-system. Files are renamed to make files generally more manageable across different operating systems; removing spaces, special characters and so on. I'd agree that - and _ should probably not be replaced. The physical file is changed, and the database record pointing to that file is updated. So despite the name change FarCry will be completely aware of the new change. When you add a new file to a content body of a content item, you need to follow the following steps: a) associate file with the content items Media library b) use the FarCry button in tinyMCE to add the file In terms of modifying the behaviour of the file rename, please raise a bug at http://bugs.farcrycms.org/ detailing the issue and the behaviour you would ideally prefer. If you want to modify the code directly, you can extend the file formtool into your project and modify the behaviour directly -- this is relatively straight forward if you know what you are doing, but its an advanced option you might need assistance with. Hope that helps, -- geoff http:/www.daemon.com.au/ PS. I would recommend upgrading to 4.09 milestone if possible. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "farcry-dev" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/farcry-dev?hl=en -~----------~----~----~----~------~----~------~--~---
