Andreas Jung

Plone and Python developer since the mid-90 • Electronic Publishing Guru • Singing • Piano & Organ • Human.

Tübingen
213 posts
Website Twitter RSS

The twenty-eight Lurker laws

Stefan Holek gave a great presentation at the Plone Conference 2006 in Seattle about mistakes and things to avoid when programming with Zope & Plone. As a developer you should take your time

When True isn't True enough

I found this brilliant tal:condition inside a Plone template today: <div class="row" tal:condition="python:test(content_type.startswith('text'), 1, 0)"> <h2 i18n:translate="heading_file_contents"

Obtaining the backward references

It seems to be a common requirement to do not only obtain the list of related items (references to other objects) but also to obtain the list of back references. The following snippet