[Zope-CMF] Page view without CMF framing
Ausum Studio
ausum_studio@hotmail.com
Sat, 24 Aug 2002 03:13:10 -0500
Just write a skin (use the name you want, 'pdf_friendly' for example) to
render the content of your current document as clean as you desire it, by
carefully including just your relevant content, getting rid of navigational
aids like 'action_box', for example.
Then within portal_types add it as an action to every wiki or wiki page
object.
Ausum
----- Original Message -----
From: "J C Lawrence" <claw@kanga.nu>
To: <zope-cmf@zope.org>
Sent: Saturday, August 24, 2002 1:30 AM
Subject: [Zope-CMF] Page view without CMF framing
>
> Can I selectively view a CMF node without the CMF html framing?
>
> I'm playing with htmldoc and html2pdf with an eye to generating PDF
> versions of CMFWiki pages. It works rather nicely, however the rendered
> PDF encludes the CMF title bar, side boxes, etc. For obvious reasons I
> don't want that cruft in the PDF.
>
> Note: Plone handles this area for printing via a media="print" CSS
> which drops display of the offending bits. The problem here is that
> htmldoc doesn't understand CSS.
>
> The apparency is that I need to manipulate skins in an interesting
> fashion. I don't want to change the global skin, just the skin for a
> specific link/version of a node -- but I don't see how to do that yet.
>
> HTMLDOC: http://www.easysw.com/htmldoc/
> html2pdf.py: http://www.zope.org/Members/mjablonski/howtoPDF/
>
> --
> J C Lawrence
> ---------(*) Satan, oscillate my metallic sonatas.
> claw@kanga.nu He lived as a devil, eh?
> http://www.kanga.nu/~claw/ Evil is a name of a foeman, as I live.
>
>
> _______________________________________________
> Zope-CMF maillist - Zope-CMF@zope.org
> http://lists.zope.org/mailman/listinfo/zope-cmf
>
> See http://collector.zope.org/CMF for bug reports and feature requests
>