[Checkins] SVN: five.pt/trunk/ Add somewhat evil method to hook into grok. Unfortunately grok makes it extremely hard to do this more cleanly.

Sylvain Viollon sylvain at infrae.com
Thu Apr 15 04:21:36 EDT 2010


On Wed, 14 Apr 2010 18:03:10 +0200
Wichert Akkerman <wichert at wiggy.net> wrote:

  Hello,

> On 4/14/10 18:01 , Vincent Fretin wrote:
> > Ah, I was looking at five.grok 1.0. The code changed in five.grok
> > 1.1.1. I'm currently verifying what I say. :)
> 
> You may very well be correct though! If you have something that works 
> better please feel free to commit it.
> 

   Why don't you use megrok.chameleon if you want to have Chameleon
   grok page template ?

   It work perfectly with all version of five.grok (I use it in
   multiple project, even in Plone 3 projects).

   You just have to name you template .cpt.

   Of course if five.pt does crazy monkey patchs into Chameleon, it
   might break ....

   Sylvain,

-- 
Sylvain Viollon -- Infrae
t +31 10 243 7051 -- http://infrae.com
Hoevestraat 10 3033GC Rotterdam -- The Netherlands


More information about the checkins mailing list