CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Feature Requests and Suggestions »
  • Usability Improvements (Moderator: Dave Greenberg) »
  • File upload directory paths are not intuitive
Pages: [1]

Author Topic: File upload directory paths are not intuitive  (Read 885 times)

John.K

  • I post occasionally
  • **
  • Posts: 75
  • Karma: 5
  • CiviCRM version: 4.x
  • CMS version: Drupal 7
  • MySQL version: 5.x
  • PHP version: 5
File upload directory paths are not intuitive
February 23, 2015, 06:34:56 am
Issue

There are currently three places where 'paths' can be defined in the CiviCRM settings:
Admin > System Settings >
  Directories
  Resource URLs
  Cleanup Caches and Update Paths

The path labels are also not intuitive. For example, Contact images are uploaded into the 'Custom files' directory, not the 'Images' directory. (Although this is explained in the help text beneath the field).

There is currently no explanation of the relationship between the paths specified in the 'Directories' and 'Resource URLs' pages.

Proposed changes

Reduce the number of pages paths can be set on: merge it all in to one page if possible?

Reduce / rename the number of directories: ie: if images are not uploaded in the 'Images' directory, then what should that actually be called?

Restructure the directories: perhaps we could specify a 'base' uploaded file directory, and then specify certain folders to be used for certain types of file. Eg:

Base file directory: sites/default/files/civicrm/custom/
- Images subdirectory: images/
- 'Premium' images subdirectory: images/premiums/
- Temporary files : tmp/ (Although these shouldn't probably be elsewhere?)

Remove hard-coded 'image/' directory definition in 'contact/imagefile.php' - this could be configured above.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Feature Requests and Suggestions »
  • Usability Improvements (Moderator: Dave Greenberg) »
  • File upload directory paths are not intuitive

This forum was archived on 2017-11-26.