[Grok-dev] Can someone who has worked with template pluging review this doc

Santiago Videla santiago.videla at gmail.com
Wed Sep 23 08:41:43 EDT 2009


Hi,

I think that it's important to note that when the new templates language
it's placed in a separated egg (megrok.chamaleon, megrok.genshi,
megrok.jinja) you must ensure that this package gets grokked before anything
else
(using <include package="megrok.mytemplate" /> in the application
configure.zcml).

Otherwise, Grok could not recognize the new templates extension.

Maybe, you may want to include link references to the existing packages:

http://pypi.python.org/pypi/megrok.chameleon/0.2
http://pypi.python.org/pypi/megrok.genshi/1.0
http://pypi.python.org/pypi/megrok.jinja/0.1

Best Regards


On Wed, Sep 23, 2009 at 9:18 AM, Paul Wilson <paulalexwilson at gmail.com>wrote:

> 2009/9/23 Uli Fouquet <uli at gnufix.de>:
> > Sebastian Ware wrote:
> > If that's okay I could extend the HowTo a bit by giving a simple
> > template engine example and tell more about namespaces in templates.
>
> Sounds good! The fact that MyTemplate is not defined anywhere is
> confusing (see the comment on the HowTo) so I think that would be a
> good idea.
>
> Regards,
> Paul
> _______________________________________________
> Grok-dev mailing list
> Grok-dev at zope.org
> https://mail.zope.org/mailman/listinfo/grok-dev
>



-- 
Santiago Videla
www.revolucionesweb.com.ar
http://www.linkedin.com/in/svidela

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/20090923/2a791358/attachment.html 


More information about the Grok-dev mailing list