[Grok-dev] About plugged templates... bug or coming soon feature??

Santiago Videla santiago.videla at gmail.com
Thu Dec 4 23:11:20 EST 2008

Hi there,

On Tue, Dec 2, 2008 at 9:59 AM, Lennart Regebro <regebro at gmail.com> wrote:

> On Mon, Dec 1, 2008 at 21:40, Santiago Videla <santiago.videla at gmail.com>
> wrote:
> > Did you try what I'm doing using megrok.genshi ??
> I think so. It was so long ago it's all a bit fuzzy. ;)

mmm... I don't think so.

I tried with megrok.genshi and it doesn't work (or I couldn't...)

It works when I create the views and the directory template in the grok
application. But if I want to do it with views defined in other eggs I got:

UserWarning: File 'foo.gt' has an unrecognized extension in directory
  callable(*args, **kw)

for something like

class Foo(grok.View):

+ foo_templates
   - foo.gt

If I change foo.gt with foo.pt, everything works.

any help will be appreciated... :)

Best Regards,

> --
> Lennart Regebro: Zope and Plone consulting.
> http://www.colliberty.com/
> +33 661 58 14 64

Santiago Videla

Sigue la mata dando de que hablar siempre abajo y a la izquierda donde el
pensamiento que se hace corazón resplandece con la palabra sencilla y
humilde que l at s tod at s somos.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/grok-dev/attachments/20081205/e5732110/attachment.html 

More information about the Grok-dev mailing list