Quantcast
Channel: Isotoma Blog » Archetypes
Browsing latest articles
Browse All 7 View Live

Altering an Archetypes validator after the schema has been defined

To change the validator for a field on an Archetypes schema after the schema has been defined is not as simple as it first looks. Most values on a schema can be altered simply by reassigning them. If,...

View Article


Caching Archetypes ImageFields with Squid

This is an issue that has cropped up on a couple of our sites. We generally only use Squid to cache images, javascript and css. Cached Javascript and CSS are not a problem in Plone, because the...

View Article


Archetypes validation on the basis of the value of more than one field

In the general category of ‘you learn something new every day’…. Today I’m back using Plone (it’s been a while!). I’m trying to validate a particular field on the basis of the value of another....

View Article

Using TextIndexNG3 with Archetypes and automated testing

I’m currently working on the latest version of our Business Directory product for Business Link Kent (it should be going live on 8th Feb, in fact). Because of the complex searching requirements plain...

View Article

LinguaPlone and redirection

One of our current projects working with Plone requires multilingual content using the LinguaPlone product. One of the features that has been lost since LinguaPlone was first released was the...

View Article


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 given the name of the content type rather than an instantiated object or its class. Whilst...

View Article

Setting the modification date of an Archetype object in Plone.

Modification dates of Archetypes objects are set automatically to the current date and time when an object is reindexed. Usually this is useful behaviour but if ,for example, you’re importing content...

View Article
Browsing latest articles
Browse All 7 View Live