Re: how to save an image inside an folderish page that hasn't been saved yet?
Christian Ledermann <[email protected]>
| Newsgroups | gmane.comp.web.zope.plone.devel |
|---|---|
| Message-ID | <CABCjzWoqd8WeXAFxMc+XPiM3MSdyC4YJq5aXRTg+aZguNtsm-A@mail.gmail.com> |
On Wed, Feb 5, 2014 at 11:18 AM, David Glick (Plone) <david.glick-z4DKO/[email protected]>wrote: > On 2/4/14, 11:33 PM, Dylan Jay wrote: > > Hi, > > > > For those that didn't know a few of participated in the fish&chip sprint > last weekend to create a prototype of what Plone would be like without > folders, collections or default pages. > > It's still a work in progress but we have a working buildout and demo > with a video to come. > > > > One interesting issue we encountered was that the add image popup won't > let us upload an image inside the yet to be saved page. Anyone know how to > solve this? > > > Put images in a central media library rather than within the main > content hierarchy. > sometimes you don't want this as a default behaviour, you may need the images or files inside that folderish type. of the top of my head: save the images (or files) in a temporary location (.tmp?), store the UUID in the add form. After save move the items into that object. This will result in orphaned objects if you just close the browser window, or navigate away from the form in any other way. So in the temporary location the objects should be annotated somehow (move pending?) and the tmp location should include some mechanism to clean it up e.g. automatically remove all pending objects older than one day, manually remove objects. Just brainstorming here. > > ------------------------------------------------------------------------------ > Managing the Performance of Cloud-Based Applications > Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. > Read the Whitepaper. > > http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk > _______________________________________________ > Plone-developers mailing list > Plone-developers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org > https://lists.sourceforge.net/lists/listinfo/plone-developers > -- Best Regards, Christian Ledermann Nairobi - Kenya Mobile : +254 702978914 <*)))>{ 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. }<(((*> ------------------------------------------------------------------------------ Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk _______________________________________________ Plone-developers mailing list Plone-developers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org https://lists.sourceforge.net/lists/listinfo/plone-developers