I really don't want people to rename a folder. Because that would break every link use the files inside that folder
I just want them to rename files only.
Any way to do that?
I really don't want people to rename a folder. Because that would break every link use the files inside that folder
I just want them to rename files only.
Any way to do that?
Comments
Comment #1
Taxoman commentedSecond that, should be a configurable option, preferably per role, and possibly per folder/subfolderhierarchy?
Comment #2
aaron1234nz commentedPlease try latest -dev release. I've just added this functionality. There are now two options on the IMCE profile set up screen - one for files and one for folders.
Comment #3
Taxoman commentedgreat, but where is the 7.x-dev branch?
Comment #4
aaron1234nz commentedSorry, try now.
Comment #6
per-olav commentedCould this be released as 7x-1.3? No point to just have it in the -dev, is it?
Comment #7
schmidtk commentedTried out the dev version. I have a funny situation where on my local dev machine I have a different set of files than I do on my dev server. So in my case the files table doesn't match the actual files on my machine. Consequently, this threw a 500 error, presumibly because it wasn't able to select my file from the files table. Not sure how to best handle the error, but even reporting "File not found in database - contact your administrator" might be better. Error text I got:
Recoverable fatal error: Argument 1 passed to file_move() must be an instance of stdClass, boolean given, called in /sites/all/modules/contrib/imce_rename/imce_rename.module on line 115 and defined in file_move() (line 1007 of /includes/file.inc).
Comment #8
hefox commentedre-opening an issue to ask for a new version to be created is not a good proper of issue queue =(
#1376260: Ajax Issue when Renaming a File in Sub Folder for schmidtk