Modification dates of Archetypes objects are set automatically to the current date and time when an object is reindexed. Usually […]
Category Archives: Plone
On Ubuntu Python, Exceptions and unnecessary imports
A few days ago Alexander Limi (one of Plone’s founders) tweeted the following: Ubuntu Python: Raise an exception, import 190 […]
Javascript localization within Plone
For a while now, I’ve been trying to think of the best way to get localized strings into Javascript under […]
Useful Plone template debugging functions
As Plone developers, a lot of the problems we have when writing code and templates are only revealed with cryptic, sometimes misleading error messages from somewhere way down the stack from their underlying cause, if at all. When an error is raised, by some template rendering, Zope does provide some useful traceback information specifying the template with line numbers and expressions and whatnot. But why shouldn’t we be able to access this information without raising an error?
Get a content type class by name in Zope
I recently had the problem of finding out if a content type in Plone implemented a certain interface, but only […]
LinguaPlone and redirection
One of our current projects working with Plone requires multilingual content using the LinguaPlone product. One of the features that […]