Fixing a broken toplevel acl_users

Sometimes someone forgets his admin password. This is easy to reset with the adduser command of Zope. But what if someone removes the top level ZODB user manager? Use this commands to restore it in debug mode:

Start instance in debug mode:

$ bin/instance debug

Add a new ZODB user ...

Tagged as: Plone Authentication

Stumbling upon TextIndexNG3s ranking features

For a Plone site I use TextIndexNG3 for the fulltext index with the ranking support (txng.ranking.cosine) turned on. Searching content worked fine on the development box but when transferred to the live box, some mysterious things happened. Some of the documents were not found and strangely with the ...

Tagged as: Index Plone

New Book: "Plone 3 Multimedia"

I was tired of reading and answering all the p4a related questions on the Plone user mailing list and wrote a book about it ;-).

The book is now available:

[caption id="attachment_60" align="alignnone" width="243" caption="Plone 3 Multimedia Cover"]|Plone 3 Multimedia Cover|[/caption]

In the book you ...

Tagged as: Multimedia Plone

Using five.grok views as default views

Once you get used to the power of grok in Plone via five.grok you never want to miss it and use it for all and everything. Unfortunately it is currently not possible to use grok views as default views via CMFDynamicViewFTI.

To nevertheless use them you have to do ...

Tagged as: Grok Plone

Minifying JavaScript and CSS with buildout

An easy way to increase the performance of a web-page is to minify the used CSS and JavaScript resources. There are ready available tools that strip the comments and whitespaces from JavaScript and CSS-files.

Plone itself ships with a big amount of uncompressed JavaScript and CSS which are compiled in ...

Tagged as: Multimedia Plone

Migrating to Plone 4. Part 1

Recently I tried to migrate the website of the university I work for to Plone 4. The first thing I did was to checkout the development buildout from Plone http://svn.plone.org/svn/plone/buildouts/plone-coredev/branches/4.0. The alpha2 release is quite near, but I thought I ...

Tagged as: Plone

Customize Plone translations with iw.recipe.cmd

Sometimes the good translations of Plone do not fit your usecase or screen space. Overriding the translations in a pre-buildout area was easy. All you needed to do is to put a directory i18n in your instance home containing a file custom-plone-en.po. The structure of the filename is important ...

Tagged as: buildout i18n plone

About

I'm a Zope developer and part time author and I live in Zurich.

Tagged as: About Plone

Using archetypes.referencebrowserwidget with Plone 3.3

If you need to reference objects from big containers, the current ATReferenceBrowser product, which is bundled with Plone may not be your first choice. It is very slow with many objects and it is not very well tested, if at all. The at.referencebrowserwidget aims to be 100% UI compatible ...

Tagged as: Archetypes Plone Referencebrowser Widget