Bug #51780
closedTyposcript constant editor not supporting file upload anymore
0%
Description
Typoscript code:
- 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
Updated by Philipp Gampe almost 11 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?
Updated by Bas van Beek almost 11 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.
Updated by Chris topher almost 11 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.
Updated by Anja Leichsenring almost 11 years ago
- Status changed from Needs Feedback to Closed