Re: uploading html files as Files

espen <[email protected]>
Newsgroups gmane.comp.web.zope.plone.user
Message-ID <[email protected]>
4. aug. 2014 kl. 17:44 skrev c.ledermann [via Plone] <ml-node+s293351n7572164h37-PKuAHvtXa09l57MIdRCFDg@public.gmane.org>:

> a bit hacky and maybe even evil: 
> 
> if you append ?ajax_load=xxxx only the pure content will be rendered 

links will be embedded in the html files coming from that system, so it would be a bit dirty (a javascript to change the url, could do it, though)

Espen



> 
> On Mon, Aug 4, 2014 at 4:33 PM, espen <[hidden email]> wrote:
> 
> > 4. aug. 2014 kl. 17:23 skrev yuri-2 [via Plone] <[hidden email]>: 
> > 
> > create a copy of the content types you need in portal_types, then create 
> > a template which just displays the content and assign it as the default 
> > view in portal_types for the new types. 
> > 
> > 
> > sounds like a good idea. 
> > Then I probably need to «map» the «.htm» ending to this content type (in 
> > MIME types ?) 
> > 
> > Esen 
> > 
> > 
> > For auth users, create an entry in the template to manage the pages and 
> > folders (view, edit, contents) 
> > 
> > Il 04/08/2014 17:14, Espen Moe-Nilssen ha scritto: 
> > 
> >> Hi 
> >> 
> >> 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? 
> >> Could I change the mimetype for «htm» to something else 
> >> 
> >> Any suggestions welcome….. 
> >> 
> >> 
> >> Espen 
> >> 
> >> 
> >> 
> >> ------------------------------------------------------------------------------ 
> >> 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 
> >> <a href="x-msg://21/user/SendEmail.jtp?type=node&amp;node=7572162&amp;i=0" 
> >> target="_top" rel="nofollow" link="external">[hidden email] 
> >> 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
> > _______________________________________________ 
> > Plone-Users mailing list 
> > <a href="x-msg://21/user/SendEmail.jtp?type=node&amp;node=7572162&amp;i=1" 
> > target="_top" rel="nofollow" link="external">[hidden email] 
> > https://lists.sourceforge.net/lists/listinfo/plone-users
> > 
> > 
> > ________________________________ 
> > If you reply to this email, your message will be added to the discussion 
> > below: 
> > http://plone.293351.n2.nabble.com/uploading-html-files-as-Files-tp7572160p7572162.html
> > To start a new topic under General Questions, email [hidden email] 
> > To unsubscribe from Plone, click here. 
> > NAML 
> > 
> > 
> > 
> > ________________________________ 
> > View this message in context: Re: uploading html files as Files 
> > Sent from the General Questions mailing list archive at Nabble.com. 
> > 
> > ------------------------------------------------------------------------------ 
> > 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 
> > [hidden email] 
> > https://lists.sourceforge.net/lists/listinfo/plone-users
> >
> 
> 
> 
> -- 
> Best Regards, 
> 
> Christian Ledermann 
> 
> London - UK 
> Mobile : +44 7474997517 
> 
> <*)))>{ 
> 
> If you save the living environment, the biodiversity that we have left, 
> you will also automatically save the physical environment, too. But If 
> you only save the physical environment, you will ultimately lose both. 
> 
> 1) Don’t drive species to extinction 
> 
> 2) Don’t destroy a habitat that species rely on. 
> 
> 3) Don’t change the climate in ways that will result in the above. 
> 
> }<(((*> 
> 
> ------------------------------------------------------------------------------ 
> 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 
> [hidden email] 
> https://lists.sourceforge.net/lists/listinfo/plone-users
> 
> 
> If you reply to this email, your message will be added to the discussion below:
> http://plone.293351.n2.nabble.com/uploading-html-files-as-Files-tp7572160p7572164.html
> To start a new topic under General Questions, email ml-node+s293351n293352h65-PKuAHvtXa09l57MIdRCFDg@public.gmane.org 
> To unsubscribe from Plone, click here.
> NAML





--
View this message in context: http://plone.293351.n2.nabble.com/uploading-html-files-as-Files-tp7572160p7572165.html
Sent from the General Questions mailing list archive at Nabble.com.

------------------------------------------------------------------------------
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.