Re: What I'd like to see gsoc achieve: plone distributions

Asko Soukka <[email protected]>
Newsgroups gmane.comp.web.zope.plone.devel
Message-ID <[email protected]>
espen wrote:
>> > Before I start: How shoulld the content be constructed / maintained ?
 >
> Do you have a working example (code) of this, I am trying to import
> content (plone.app.contenttypes), and it works for Folders, but not for
> Pages (Documents)

Dexterity content import did not work outside site-root or 
Archetypes-container due to a few missing adapters agains GenericSetup 
content import framework. That should now be fixed for 
plone.app.contenttypes in c.themesitesetup 0.13.0 with extras.zcml 
enabled (described in README).

How did you create your export? You can create working export by:

1. Create a new site, with p.a.contenttypes and your example content
2. Upload your theme
3. Go to /Plone/++theme++example/@@export-site-setup
    where "Plone" is your site and "++theme++example" your theme
4. Click export (it defaults to content export)

That was enough to export importable default Plone site content 
(including Folders, Documents and Collections).

Cheers,
Asko

------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
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.