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]> |
Dylan Jay wrote: >> - a p.a.theming-plugin, which imports configured "install"-profile during theme activation an optional "uninstall"-profile during theme deactivation > > I was thinking that it might be important to make it optional. For example there are many times you activate a theme to switch them for testing for instance and you don't want to reinstall content then. > I'm not sure where it should go but it perhaps needs deeper integration where in plone.app.theming is a message that says "the currently activated theme contains an setup. do you wish to run it now?". But then I'm not sure how you;d run the uninstall. Perhaps you need both? This should be generic for any p.a.theming-plugin for onEnabled/onDisabled -plugin-hooks, but would be quite involved in p.a.theming control panel GUI and theme activation API. >> - plone resource directories are globally configured to filter dot-files and therefore dotted files must be handled as special cases (e.g. ".objects" and ".properties" are renamed to just "objects" and "properties") > > You might be better off with __gs__objects or something similar, or making the .objects work. Otherwise there can't be any content imported called objects. But then I guess its a proof of concept right? I tried that already, but Resource editor's file listing went broken with _-prefixed filenames. Didn't look further into the real issue, but probably postfixing such files would be good enough. I'll probably fix that and create a custom form for GS export to make it more useful, but then this will remain as unreleased code until p.a.theming is fixed. Cheers, Asko ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/