Project

General

Profile

Actions

Bug #70428

closed

Make Colorpicker Image paths relative to PATH_site

Added by Christian Wellinghorst over 8 years ago. Updated over 5 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);
)

Actions #1

Updated by Riccardo De Contardi over 8 years ago

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

Updated by Gerrit Code Review over 8 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

Actions #3

Updated by Benni Mack over 8 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
Actions #4

Updated by Benni Mack over 8 years ago

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

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF