On Thu, Nov 06, 2008 at 11:48:37AM +0000, Tim Hicks spake thusly:
> Would you be willing/able to check-in these changes to svn?

Sure, how do I do that?

> I personally don't have any new features in mind.  Others may feel
> differently, though.  To my mind, the most important thing now is to fix
> bugs and get proper releases out.  See
> <http://plone.org/products/quills/issues/> for a list of reported bugs.
>  If you are able to fix any of those, then that would be very valuable.

I'll take a look.

> I don't know anything about scrawl, I'm afraid.

No problem, I'm planning on sticking with Quills anyway.

Now that I have Quills working I have come across a couple more
issues:

1. If I try to view the contents of the blog folder itself I get the following:

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.CacheSetup.patch_cmf, line 74, in PT_pt_render
  Module Products.CacheSetup.patch_utils, line 9, in call_pattern
  Module Products.PageTemplates.PageTemplate, line 89, in pt_render
  Module zope.pagetemplate.pagetemplate, line 117, in pt_render
  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 957, 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 861, in do_defineMacro
  Module zope.tal.talinterpreter, line 346, in interpret
  Module zope.tal.talinterpreter, line 957, 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 534, in do_optTag_tal
  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 534, in do_optTag_tal
  Module zope.tal.talinterpreter, line 516, in no_tag
  Module zope.tal.talinterpreter, line 346, in interpret
  Module zope.tal.talinterpreter, line 745, in do_insertStructure_tal
  Module Products.PageTemplates.Expressions, line 221, in evaluateStructure
  Module zope.tales.tales, line 696, in evaluate
   - URL: index
   - Line 63, Column 8
   - Expression: <PathExpr standard:'view/contents_table'>
   - Names:
      {'container': <Weblog at /tracyreed/blog>,
       'context': <Weblog at /tracyreed/blog>,
       'default': <object object at 0xb7cb2528>,
       'here': <Weblog at /tracyreed/blog>,
       'loop': {},
       'nothing': None,
       'options': {'args': (<Products.Five.metaclass.SimpleViewClass from 
/opt/Plone-3.1/buildout-cache/eggs/plone.app.content-1.3-py2.4.egg/plone/app/content/browser/foldercontents.pt
 object at 0x1996948c>,)},
       'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 
0x19969b6c>,
       'request': <HTTPRequest, URL=http://tracyreed.org/blog/folder_contents>,
       'root': <Application at >,
       'template': <ImplicitAcquirerWrapper object at 0x19e134ac>,
       'traverse_subpath': [],
       'user': <PloneUser 'treed'>,
       'view': <Products.Five.metaclass.SimpleViewClass from 
/opt/Plone-3.1/buildout-cache/eggs/plone.app.content-1.3-py2.4.egg/plone/app/content/browser/foldercontents.pt
 object at 0x1996948c>,
       'views': <zope.app.pagetemplate.viewpagetemplatefile.ViewMapper object 
at 0x199695ac>}
  Module zope.tales.expressions, line 217, in __call__
  Module Products.PageTemplates.Expressions, line 161, in _eval
  Module Products.PageTemplates.Expressions, line 123, in render
  Module plone.app.content.browser.foldercontents, line 28, in contents_table
  Module plone.app.content.browser.foldercontents, line 91, in __init__
  Module plone.memoize.instance, line 45, in memogetter
  Module plone.app.content.browser.foldercontents, line 159, in items
  Module plone.memoize.instance, line 45, in memogetter
  Module plone.app.layout.icons.icons, line 25, in html_tag
  Module plone.app.layout.icons.icons, line 52, in description
AttributeError: 'NoneType' object has no attribute 'Title'

If I look in the ZMI there is a property "title" on the Quills blog
object. Perhaps the traceback is referring to something
else. Otherwise the blog itself seems to work fine.

2. On my old Plone 2.5 and Quills installation I made the Quills blog
the default view by naming the blog "blog" and adding "blog" to the
default_page list in portal_properties/site_properties. This caused
the main content to be my blog but the navigation portlet showed the
folders etc from the root. When I do this with the new Quills and
Plone 3.1 the navigation portlet is rendered as from within my blog
pfolder. So instead of the folders in the site root it shows all of my
blog entries there. I would like to get the old behavior back. 

I have tried adding my blog to
portal_properties/site_properties/default_page. 

I have set the default_page property on / to be my blog.

I have tried setting my blog folder (called just "blog") to be the
default content view using the Display action and "Change content item
as default view" and selecting my blog on the root of my site as well.

In every case I get the navigation from within the blog folder itself.

Any ideas?

-- 
Tracy Reed
http://tracyreed.org

Attachment: pgpOW0W1HW3n6.pgp
Description: PGP signature

_______________________________________________
quills-dev mailing list
[email protected]
http://lists.etria.com/cgi-bin/mailman/listinfo/quills-dev

Reply via email to