Re: uploading html files as Files
dieter <[email protected]>
| Newsgroups | gmane.comp.web.zope.plone.user |
|---|---|
| Message-ID | <[email protected]> |
Espen Moe-Nilssen <[email protected]> writes: > My customer (school) has an old (planning) system to generate schedules for classes. > It generates a bunch of htm files together wirh framesets and frames and is updated (all the time) > > If I upload the htm files a «normal way» (ftp, http, wildcard.foldercontents) it will become a plone page (with logo, footer etc everywhere in the frameset). > Is there a way around this? The "content_type_registry" object (in your Plone site) is responsible for the mapping. Thus, things will be easy when all uploaded html files should become "File" objects: you simply modify the corresponding "content_type_registry" definition. Things will get more difficult when some html files should use "Page" and others "File" -- but hopefully, the situation stays simple in your case. ------------------------------------------------------------------------------ Infragistics Professional Build stunning WinForms apps today! Reboot your WinForms applications with our WinForms controls. Build a bridge from your legacy apps to the future. http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk