browserviews not recognized as view_templates

Tim Hicks tim at sitefusion.co.uk
Sat Sep 22 14:27:24 UTC 2007


Tom Lazar wrote:
> On Sep 22, 2007, at 3:17 PM, Tim Hicks wrote:
> 
>> Tom Lazar wrote:
>>> hi everybody,
>>>
>>> tim hicks and i are migrating Quills to Plone 3.0 and came across the
>>> problem that topic- and archive views (which are now handled via custom
>>> traversal adapters) are not recognized properly as 'view_templates',
>>> i.e. they lack their assigned portlets and blog entries lack a
>>> commenting button, etc.
>>
>> To clarify, the lack of portlets is unrelated, and I should be able to
>> fix easily enough.
> 
> great! ;-) any hints? i followed the portlets thread you and optilude
> had regarding setting them up in the first place, but i still don't know
> what approach we need to 'trick' our content type - based portlets to
> appear in the context of topics or archives (those transient objects,
> which are created on-the-fly during traversal seem to become the context
> of the topic and archive views, is that correct?)

I've just made two checkins that fix this issue... at least they make
all Quills tests pass:

<http://dev.plone.org/collective/changeset/49913>
<http://dev.plone.org/collective/changeset/49914>

Basically, the problem was that we hadn't registered adapters for those
transient objects to be handled by the portlets machinery.


Tim




More information about the Product-Developers mailing list