Hi, I read Martins manual about grok http://plone.org/products/dexterity/documentation/manual/five.grok and wanted to try it myself. But it seems I miss something. First I added
<grok:grok package="." /> to my configure.zcml. But my viewlet in viewlet.py didn't work that way. After reading http://vincentfretin.ecreall.com/articles/using-five.grok-to-add-viewlets I change the configure.zcml to <grok:grok package=".viewlet" /> Now the viewlet works but the files in static are no longer available. What am I doing wrong? The example at http://svn.zope.org/grokapps/SimpleViewletDemo/src/simpleviewletdemo/configure.zcml?rev=86566&view=auto is also using <grok:grok package="." /> cheers Dominik -- View this message in context: http://plone.293351.n2.nabble.com/grok-doesn-t-grok-file-as-expected-tp5951818p5951818.html Sent from the Product Developers mailing list archive at Nabble.com. _______________________________________________ Product-Developers mailing list [email protected] https://lists.plone.org/mailman/listinfo/product-developers
