Closed (fixed)
Project:
File (Field) Paths
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
11 May 2012 at 12:10 UTC
Updated:
9 May 2013 at 03:10 UTC
Jump to comment: Most recent file
Comments
Comment #1
piyuesh23 commented@Daniel,
I had the same problem. I have added an admin page to select all the fields for which we don't wan't ffp settings to be applied. Attaching the patch here.
Comment #2
piyuesh23 commentedSorry about the above patch missed the admin settings file. Adding the working patch here.
Comment #3
piyuesh23 commentedCleaned up the above code a bit and here is the final patch. Tested with couple of fields and it works like a charm..:)
Comment #4
piyuesh23 commentedAdded permissions for the administration of the filefield form.
Comment #5
decipheredIt would make more sense to me to have the setting on the Field settings page, a simple checkbox where the File (Field) Path settings are currently, that when toggled on will hide the existing File path settings and replace it with the File (Field) Path settings using the FAPI #states attribute.
This approach means it can be done on a field-by-field basis without the need for additional pages.
I would also say that it should be an on by default as off by default could confuse new users of the module and potentially break things for existing users.
Cheers,
Deciphered.
Comment #6
decipheredChanging this to a feature request.
Comment #7
decipheredAn improved solution to this has been committed to 7.x-1.x.
Cheers,
Deciphered.