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 manager and activate necessary plugins: . . . → Read More: Fixing a broken toplevel acl_users

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 same words than on the development box. . . . → Read More: Stumbling upon TextIndexNG3s ranking features

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:

Plone 3 Multimedia Cover

In the book you will find help on how to set up a customized multimedia CMS by collaborating with external . . . → Read More: New Book: “Plone 3 Multimedia”

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 a little trick and fool CMFDynamicViewFTI. . . . → Read More: Using five.grok views as default views

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 the resource registry. The usual . . . → Read More: Minifying JavaScript and CSS with buildout

Migrating to Plone 4.

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 can watch the changes/bugfixes better, when I use the development buildout.

The next thing I . . . → Read More: Migrating to Plone 4. Part 1

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: custom-DOMAIN-LANGUAGECODE.po

Nowadays all people use buildouts . . . → Read More: Customize Plone translations with iw.recipe.cmd

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 but using modern components in the . . . → Read More: Using archetypes.referencebrowserwidget with Plone 3.3