Bug #70428
closedMake Colorpicker Image paths relative to PATH_site
100%
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);
)
Updated by Riccardo De Contardi almost 9 years ago
- Category set to Backend User Interface
- Target version set to Candidate for patchlevel
Updated by Gerrit Code Review almost 9 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
Updated by Benni Mack almost 9 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
Updated by Benni Mack almost 9 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 828d107c9b1c8e216c20cb51a7be28107c36cf89.