You are here: Home Blog Topics plone 4

plone 4

Apr 09, 2013

How to enable User Folders in Plone

by Mike Cullerton — last modified Apr 09, 2013 03:22 PM

User Folders are an option in Plone. You can turn them on In the Security settings area of Site Setup (Plone Control Panel). Here's how I enabled User Folders in Plone from within my product.

I needed to enable the User Folders feature of Plone from within my product. My first thought was to use a Generic Setup profile, but the solution was setuphandlers.py.

I inspected the Enable User Folders button on the Security settings page of Site Setup, and saw the attribute was named enable_user_folders. I tried to find a generic setup profile I could edit.

The closest I got was adding enable_user_folders to properties.xml. This turned the attribute on in the ZMI, but not in Site Setup and User Folders were not enabled.

Then I found a reference to

security.enable_user_folders

in a setuphandlers.py file from the Rhaptos git repo.

So, I added these lines to setupVarious in my setuphandlers.py.
from plone.app.controlpanel.security import ISecuritySchema
site = context.getSite()
security = ISecuritySchema(site)
security.enable_user_folders = True

Now, when I install my product, User Folders are enabled automatically.

Note that you need to make sure setupVarious is turned on in configure.zcml.

<genericsetup:importStep
    name="your.package"
    title="your.package special import handlers"
    description=""
    handler="your.package.setuphandlers.setupVarious"
    />

 Hope this helps someone.

 

Sep 14, 2012

Plone Hello World Tutorial

by Mike Cullerton — last modified Sep 14, 2012 01:25 AM

A simple introduction to Plone development.

About a month ago, there was a bit of a ruckus on twitter about the state of Plone and documentation and what not.

 

There was a specific request for a Hello World type tutorial introducing Plone development. After talking with Mikko and others on IRC, I put some ideas together and released a first attempt a few days later.

Over the last few weeks, I've put time into adding more sections, reorganizing the layout, and general cleanup. Tonight, I pushed those changes to the developer manual at http://collective-docs.readthedocs.org/en/latest/getstarted/helloworld/index.html

 

At this point it's starting to take shape. There are holes in it, and things I'd like to clean up, but it's a good start.

I'd like to get some feedback. What do folks think? What is missing? Are there any errors?  Really, anything helpful is appreciated.

You can comment here, or reach me @cullerton on twitter.

Thanks,

Mike

Apr 18, 2012

Plone Demonstrations on World Plone Day

by Chris Crownhart — last modified Apr 18, 2012 10:55 AM

On Wednesday, April 25, as part of a worldwide effort to promote and support Plone, we will be holding a World Plone Day event in Fort Collins, Colorado. Stop by for our brown bag lunch series featuring demos of the open source CMS.

Colorado World Plone Day LogoCore Software Group will be presenting demonstrations of Plone, an open source, python-based CMS, showing the latest features from the 4.1 release.

Demonstrations will show:

  • how content managers use the various tools in Plone
  • how administrators manage a Plone site
  • how developers can extend the CMS through building custom themes or custom products

For those interested, we can also:

  • show a variety of sites that we have built showing different solutions customers have requested
  • show how to quickly install and configure a Plone site

The presentations will last from approximately 12:00pm - 2:00pm.

For more information and to RSVP, visit the event page.

 
 
Copyright © 2003-2017 Core Software Group | 303/809-1001 | Fort Collins, Colorado | All rights reserved.