Project

General

Profile

Actions

Bug #51780

closed

Typoscript constant editor not supporting file upload anymore

Added by Bas van Beek over 10 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
TypoScript
Target version:
-
Start date:
2013-09-05
Due date:
% Done:

0%

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

Description

Typoscript code:

  1. cat=basic/xxx/010; type=file[png,jpg,gif]; label= file[png, jpg, gif] eine Datei
    t9 = fileadmin/clear.gif

When using the constant wizard we can see the field, but we cannot upload a file to it anymore.

Tested with TYPO3 6.1.4.

See instructions:
http://wiki.typo3.org/TypoScript_Constants


Files


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #78034: Typoscript constant editor not supporting type=file[]Closed2016-09-22

Actions
Actions #1

Updated by Philipp Gampe over 10 years ago

  • Status changed from New to Needs Feedback

Did that ever work? What was the last TYPO3 version where you can report that it works?

Actions #2

Updated by Bas van Beek over 10 years ago

Hi,

Paste this constants to the template in a TYPO3 4.X install:

plugin.multishop { # cat=file upload//Files; type=file[png,jpg,gif]; label= Website Logo
defaultWebsiteLogoFile = logo*.png
}

Then go to the constant editor and select "file upload" in the dropdown menu.

You will then see a file upload form. This form element is missing in TYPO3 6.1. I have attached a screenshot.

Actions #3

Updated by Chris topher over 10 years ago

  • Is Regression set to No

Hi Bas,

in older TYPO3 versions there was a resource field in TypoScript template records, which allowed you to upload files. These files could then be accessed the way you try to do that: filename without path and with a star at the end of the name.

However, this feature was intentionally removed. Here is the documentation. You should now reference the file from the filesystem with its path relative to the TYPO3 root folder.

Actions #4

Updated by Anja Leichsenring over 10 years ago

  • Status changed from Needs Feedback to Closed
Actions

Also available in: Atom PDF