Bug #70428

Make Colorpicker Image paths relative to PATH_site

Added by Christian Wellinghorst over 5 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend User Interface
Target version:
Start date:
2015-10-06
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

Currently, for whatever reason, the Colorpicker only accepts images with paths within the Typo3 directory (PATH_typo3) or within an extension directory.
When using extensions like DCE or gridelements this is really annoying, as there is no chance to store the images in fileadmin or any other folder.

It would be sufficient to change the parameter for getFileAbsFileName in the init function (i.e. change
GeneralUtility::getFileAbsFileName($this->exampleImg, 1, 1);
to
GeneralUtility::getFileAbsFileName($this->exampleImg, true, false);
)

#1

Updated by Riccardo De Contardi about 5 years ago

  • Category set to Backend User Interface
  • Target version set to Candidate for patchlevel
#2

Updated by Gerrit Code Review about 5 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/45140

#3

Updated by Benni Mack about 5 years ago

  • Tracker changed from Feature to Bug
  • Target version changed from Candidate for patchlevel to next-patchlevel
  • TYPO3 Version set to 7
  • Is Regression set to No
#4

Updated by Benni Mack about 5 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
#5

Updated by Benni Mack over 2 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF