Re: uploading html files as Files
Espen Moe-Nilssen <[email protected]>
| Newsgroups | gmane.comp.web.zope.plone.user |
|---|---|
| Message-ID | <[email protected]> |
5. aug. 2014 kl. 08:46 skrev dieter <[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. Thanks a lot… this is what I am looking for > Things will get more difficult when some html files should > use "Page" and others "File" -- but hopefully, the situation > stays simple in your case. Luckily, all these files use the ‘htm’ extension, so any html files stays OK > > > ------------------------------------------------------------------------------ > 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 > _______________________________________________ > Plone-Users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/plone-users > ------------------------------------------------------------------------------ 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