Samuel Cardoso schrieb:
> Hi,
>
> If I import some file to Plone (using FTP), the Plone
change this file
> to AFDocument, then i can edit this File in a future,
using Kupu.
> If I import some file like a pdf to Plone, he insert
this file as a
> FILE. If i want see this pdf, i've to click on
"Get this file".
>
> Is there any way to insert pages (htm) as files (using
ftp)?
> So, i want to click on "Get this file" insted
on "edit this file".
>
The key thing to know here is called
'content_type_registry'.
Look for it in ZMI.
There you control what content type gets generated on
uploads depending on mime type and/or file name extension.
Note that you can have arbitrarily many CTRs in your site
that way making this dependend on where in the site the
import happens.
HTH
Raphael
> Thanks!
> Samuel Almeida
>
>
------------------------------------------------------------
-------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2
express and take
> control of your XML. No limits. Just data. Click to get
it now.
> http://sourcefor
ge.net/powerbar/db2/
------------------------------------------------------------
-------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and
take
control of your XML. No limits. Just data. Click to get it
now.
http://sourcefor
ge.net/powerbar/db2/
_______________________________________________
Plone-Users mailing list
Plone-Users lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plone-users
|