Posts tagged 'static'

Wget a Plone site (and make it actually work)

There’s a lot of different resources and posts on the web about how to export a Plone site to static html content, but no methodology would actually solve all of my problems. Now, Plone is inherently a complicated beast, given just how much it does, and that’s definitely putting it lightly. But here goes at my attempt to provide an actual, workable solution.  Word for the wise though, this is for more than just your front-end administrator to handle.  Also, instructions are designed for Ubuntu 9.10.  Mileage may/will vary on other distros or OSes.

Requirements

  • Needs …

(Lack of) Kupu CSS Styles, Plone and Deliverance

Note: see this post for up-to-date details.

Essentially, the issue is that Deliverance doesn’t theme (and rightly so) the Kupu editor within Plone and hence any styles applied to normal pages by Deliverance don’t show up.  My workaround, as detailed on that post, is to customise the “emptypageresources” page template and include a suitable link to the CSS file, like so:

<link href="site.css" type="text/css" rel="StyleSheet" tal:attributes="href string:${context/@@plone_portal_state/navigation_root_url}/static/theme/site.css;" />

(changing the tal:attributes section accordingly).  This should introduce perfectly correct styles for your editor from your …