[quills-dev] Quills 1.6beta1 only works with Plone Default theme
Raphael Ritz r.ritz at biologie.hu-berlin.deThu May 15 13:37:36 UTC 2008
- Previous message: [quills-dev] Quills 1.6beta1 only works with Plone Default theme
- Next message: [quills-dev] Quills 1.6beta1 only works with Plone Default theme
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Jim Bublitz wrote: > I'm new to Plone and am using a Plone 3.11 buildout similar to the approach in > Martin Aspeli's "Professional Plone Development" book. > > I think I have the Quills files installed (manually) in the proper directories, > but when I go to install them with "Add Product", they change from my theme to > the Plone Default theme. However Quills seems to work perfectly with Plone > Default. But if I change back to my theme, I consistently get the traceback > below about "quills_header_macros". > > Does anyone have any ideas about what I might be doing wrong in my theme (it's > basically as built by buildout except for logo change, color changes and > reordering and hiding some viewlets)? Or is this a bug in Quills? > Smells like a bug to me. It's been a while since I used Quills the last time but looking at https://svn.plone.org/svn/collective/quills.app/trunk/quills/app/profiles/default/skins.xml (assuming that that's teh relevant profile here) seems kind of limited. Try whether changing this to <?xml version="1.0"?> <object name="portal_skins"> <object name="Quills" meta_type="Filesystem Directory View" directory="quills.app:skins/Quills"/> <skin-path name="*"> <layer name="Quills" insert-after="custom" /> </skin-path> </object> (note the clean-up ;-) makes a difference for you and please report back. The key change here is to add the Quills layer to *all* skin selections - name="*" - and not just Plone Default. You will have to reinstall Quills after making the change in order for it to become effective. HTH Raphael > Thanks, > > Jim > > Traceback (innermost last): > Module ZPublisher.Publish, line 119, in publish > Module ZPublisher.mapply, line 88, in mapply > Module ZPublisher.Publish, line 42, in call_object > Module Products.Five.browser.metaconfigure, line 417, in __call__ > Module Shared.DC.Scripts.Bindings, line 313, in __call__ > Module Shared.DC.Scripts.Bindings, line 350, in _bindAndExec > Module Products.PageTemplates.PageTemplateFile, line 129, in _exec > Module Products.PageTemplates.PageTemplate, line 89, in pt_render > Module zope.pagetemplate.pagetemplate, line 117, in pt_render > - Warning: Macro expansion failed > - Warning: exceptions.AttributeError: quills_header_macros > Module zope.tal.talinterpreter, line 271, in __call__ > Module zope.tal.talinterpreter, line 346, in interpret > Module zope.tal.talinterpreter, line 891, in do_useMacro > Module zope.tal.talinterpreter, line 346, in interpret > Module zope.tal.talinterpreter, line 536, in do_optTag_tal > Module zope.tal.talinterpreter, line 521, in do_optTag > Module zope.tal.talinterpreter, line 516, in no_tag > Module zope.tal.talinterpreter, line 346, in interpret > Module zope.tal.talinterpreter, line 949, in do_defineSlot > Module zope.tal.talinterpreter, line 346, in interpret > Module zope.tal.talinterpreter, line 536, in do_optTag_tal > Module zope.tal.talinterpreter, line 521, in do_optTag > Module zope.tal.talinterpreter, line 516, in no_tag > Module zope.tal.talinterpreter, line 346, in interpret > Module zope.tal.talinterpreter, line 870, in do_useMacro > Module zope.tales.tales, line 696, in evaluate > - URL: index > - Line 11, Column 9 > - Expression: <PathExpr > standard:'context/quills_header_macros/macros/feed-links-base'> > - Names: > {'container': <Weblog at /plano/blog>, > 'context': <Weblog at /plano/blog>, > 'default': <object object at 0xb7ccf528>, > 'here': <Weblog at /plano/blog>, > 'loop': {}, > 'nothing': None, > 'options': {'args': (<Products.Five.metaclass.SimpleViewClass from > /home/jim/plano/parts/zope2/lib/python/quills/app/browser/weblog_view.pt object > at 0xcd393cc>,)}, > 'repeat': <Products.PageTemplates.Expressions.SafeMapping object at > 0xcd3936c>, > 'request': <HTTPRequest, URL=http://localhost:8080/plano/blog/weblog_view>, > 'root': <Application at >, > 'template': <ImplicitAcquirerWrapper object at 0xcd3952c>, > 'traverse_subpath': [], > 'user': <PropertiedUser 'admin'>, > 'view': <Products.Five.metaclass.SimpleViewClass from > /home/jim/plano/parts/zope2/lib/python/quills/app/browser/weblog_view.pt object > at 0xcd393cc>, > 'views': <zope.app.pagetemplate.viewpagetemplatefile.ViewMapper object at > 0xcd3954c>} > Module zope.tales.expressions, line 217, in __call__ > Module Products.PageTemplates.Expressions, line 153, in _eval > Module zope.tales.expressions, line 124, in _eval > Module Products.PageTemplates.Expressions, line 100, in > trustedBoboAwareZopeTraverse > Module OFS.Traversable, line 269, in unrestrictedTraverse > - __traceback_info__: ([], 'quills_header_macros') > AttributeError: quills_header_macros > >
- Previous message: [quills-dev] Quills 1.6beta1 only works with Plone Default theme
- Next message: [quills-dev] Quills 1.6beta1 only works with Plone Default theme
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the quills-dev mailing list