Re: specifying content types when uploading files with WebDAV

reco <[email protected]> Mon, 2 Jan 2006 14:31:56 +0100
Newsgroups gmane.comp.web.zope.plone.design
Message-ID <[email protected]>
hi nate,

i ran into a similar problem the other day.
i played arround crating a plone product which subclasses the ATFolder=20
and the ATImage. lets call them here: NewATFolder and NewATImage.=20
NewATImage is the only Content Type allowed in NewATFolder.

so when i crate a NewATFolder in my plone site and navigate to it via=20
webdav/ftp and want to upload an image i get an error cause the=20
registry points wants to create an ATImage.
is there any way to tell plone to create NewATImage Content Types when=20
to parrent object is a NewATFolder?

thanx christof


On 2005-12-15 20:05:54 +0100, Nate Aune=20
<natea-cNZgzcB+5vhWk0Htik3J/[email protected]> said:

> Dmersch wrote:
>> Whenever I upload text files into Plone with WebDAV (WebDrive) it tags=
=20
>> them all as "Documents" when I need them all to be "Portal Files."  I'=
d=20
>> add these text files through the Plone interface, but I often have to=20
>> upload them 100 at a time.
>> Any ideas on how to make sure that all uploaded text files get tagged =
a=20
>> 'file' and not a 'document'?
>=20
> You can specify the mapping of file extension or MIME type in the=20
> content_type_registry portal tool which you can find in the Plone root.
>=20
> Nate
>=20
>=20
>=20
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log =
files
> for problems?  Stop!  Download the new AJAX search engine that makes
> searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> http://ads.osdn.com/?ad_id=3D7637&alloc_id=3D16865&op=3Dclick





-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log fi=
les
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=3D7637&alloc_id=3D16865&op=3Dclick