[TYPO3-dev] Disable Image upload field in be for file group in extension tca
Andrew Davis
andrew at theandrewunderground.com
Sat Feb 17 23:42:37 CET 2007
mmm Actually i think you might be mistaken about what I am asking....
I dont want to deactivate uploading in filelist or doc module, I want to
remove the BROWSE field in an files field in a record editing.
See this...
www.avagraphique.com/noupload.png
I have X'd off what I want to remove from the field entry...
you see, when user uses BROWSE... to choose image it is uploaded into
uploads/extensionname directory, but if they change that image later
that file gets deleted. We are concerned that users will upload files
tis way, not keep originals, then change images later, and then they
wont have a copy of that image anymore.
If we force user to use filelist to upload to a dir, then choose image
from that dir, typo3 copys that image to the uploads/extensionname
folder, and if user changes that in the future, original still exists
inthe original filelist upload.....
Thanks,
Andrew
Steffen Müller wrote:
> Hi.
>
> On 17.02.2007 16:06 Andrew Davis wrote:
>> i want to disable this upload field, so that the user must upload files
>> thru filelist module and choose them. in the choosing, the file gets
>> copied into the extensions upload folder, which is fine, and if ever
>> deleted from the record, the original remains.
>>
>> I have looked thru the core api and in the section on
>> $TCA array reference > Example - Attaching images
>> (about page 107) it shows possible entries and description, but doesnt
>> mention the possiblility of leaving part out.
>>
>
> Read TSconfig docs and find:
> setup.override.edit_docModuleUpload = 0
>
More information about the TYPO3-dev
mailing list