Open Source

Algunas notas útiles sobre Plone

 

Aquí algunas notas dispersas sobre Plone que comparto con vosotros. No se trata de un artículo estructurado, simplemente se trata de notas sobre problemas y situaciones que me han ido apareciendo. En inglés.

 

Introduction

PLONE is a content management system Zope-based and programmed in Python.
http://plone.org contains all information about it.

Zope is an Application Server that integrates a Data Base Management System called ZODB (an Oriented Object Data Base).
Both the APS and the DBMS can be changed to Apache or MySQL if you want it.


Features                                            

  • It’s open source (GNU licence)
  • Multilanguage (includes Spanish and Catalan)
  • Multiplatform (Windows, Linux and Mac).
  • It can be used like a Document Publication System, intranet and a collaborative tool are allowed, so.
  • Separated layers. Contents and design are in independent layers.

 

Installation (Linux Debian)


Zope

It has a web interface to manage it. It’s called ZMI (Zope Management Interface).
ZMI allows you to:

  • Create Plone instances. Every Plone instance is an independent web portal.
  • Improve or change the GUI
  • Add new elements, modify and delete.
  • Add new products, modify and delete.
  • Also, add new content. But it is preferable to do using the Plone instance directly.


Plone instance

You have got and admin user who can edit the content of the portal (plone instance).


Workflow and users

There are 4 roles by default with read, write, revision or admin permissions, but you can define others:

Roles

Read

Write

Approve/Reject

admin.

anonymous

X

 

 

 

member

X

X

 

 

reviewer

X

X

X

 

manager

X

X

X

X

Permissions each user has got over specific object (folder, document, etc.) goes in function of user role:

  • Manager: allows to do anything over the objects (create, edit, delete, permissions and publish).
  • Owner:  allows creating, editing, deleting, permissions and send object to publish, but publish.
  • Review: permite revisar objetos en espera de ser publicados, publicarlos y recharzarlos
  • Member: permite ver documentos publicados, editar su carpeta de usuario y escribir en el wiki.
  • Anonymous: usuario que no ha iniciado sesión en el sistema o no tiene cuenta, sólo permite ver documentos publicados
When someone with sufficient privileges builds a new object, must check all is right and then send it to publish. Later a reviewer will accept the object and then it will be visible for everybody.

If an editor wants to modify the object, he will send it to review another time.


Products

Products are modules that could be integrated if consider necessary it.
Some products: News, events, wiki, user’s management,

To install a product:

  1. Download the product version correct and take care with the platform.
  2. Unzip the packet to the directory

    1. Windows plone_home\Data\Products
    2. Linux var/lib/zope2.9/instance/plone-site/Products
  3. Then use the tool to install Add-on Products. Log in like admin and go to portal administration tools. Select add products option and select the product you like install on.

 

Design layer

The GUI should be designed using ZMI tool, nevertheless you can edit the files directly.
All the styles and templates of portal instance are located in instance/portal_skins/.
You can change it to build your own GUI.

 

Redirect plone instance to domain 

  1. Go to ZMI,  /virtual_hosting/mapping
  2. Edit it putting the next code: http://host:name/instance_name

It doesn’t work for multiple plone‘s istances.

 

Change the logo

To cahnge the principal logo:

  1. Got to ZMI, /portal_skins/custom, Image, Add
  2. And name the image like logo.jpg.


News order

To see the news in reverse order:

  1. Go to ZMI, /portal_skins/plone_templates/news
  2. Edit the line
  3. container.portal_catalog(portal_type='News Item',sort_on='Date',sort_order='reverse',review_state='published');
  4. Deleting this part: sort_order = 'reverse'


More info
Plone & Drupal comparative [spanish] [update Nov 10th 2008]

 

Distribuir contenido