[ Index ] |
|
Code source de eZ Publish 3.9.0 |
1 *Title: Improved files uploading to automatically choosen location. 2 3 *Incentive: 4 5 There is a setting that allows to set rules for automatic location selection 6 when uploading files (for example in the "Insert object" dialog of Online Editor). 7 8 content.ini:[RelationAssignmentSettings].ClassSpecificAssignment 9 10 Each line of this array contain class identifier and locations list. 11 (see content.ini comments for details) 12 13 But if current user has no access to any of locations in the matched list, 14 file will not be uploaded. This is not handy in case when different users 15 have their own folders for uploading files and want to use "Automatic" 16 feature when uploading. 17 18 *Documentation: 19 20 From version 3.9 it is possible to specify the same class name in more than one line. 21 In this case the system will go through all matched lines and choose a line that 22 contain locations where user has 'create' access rights. 23 24 If there is more then one such line, the first one will be used. 25 26 *Example: 27 28 Let's say some user has no access to the folder 'media/images' but has access to 29 the folder 'media/myfolder'. In this case if he/she will upload an image, and 30 select "Automatic" option in the "Location" dropbox of the file upload dialog, 31 then a folder 'media/myfolder' will be automatically choosen. 32 33 ClassSpecificAssignment[] 34 ClassSpecificAssignment[]=image;media/images 35 ClassSpecificAssignment[]=image;media/myfolder
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Sat Feb 24 10:30:04 2007 | par Balluche grâce à PHPXref 0.7 |