For QuillsEnabled: I gave it short testing (the missing symbol is quickly
fixed). Adding portlets works now. However I cannot remove the portlets in
the right column. 

When adding a quills portlet an exception is thrown, but it is not fatal:
TypeError: ('Could not adapt', <+
at /plone/quillsenabled/++contextportlets++plone.leftcolumn/+>,
<InterfaceClass quills.core.interfaces.weblog.IWeblogLocator>)

The problem with right column portlet is probably that you still use the
global interface category? It should be abandoned altogether IMO. The
initial set of portlets could be added by an event handler registered for
the blog activation event.

Grüße
Jan Hackel

Jan Hackel wrote:
> I cannot get it going, both Quills and QuillsEnabled. Quills cannot import
> weblogPortletSetup in Products.Quills.setuphandlers from quills.app.
> QuillsEnabled uses undefined function setup_gs_profiles.
> 
> Are you sure the commit was complet and into the branch?
> 
> Grüße
> Jan Hackel
> 
> Mikel Larreategi wrote:
> 
>> Tim Hicks(e)k dio:
>>> Sasha Vincic wrote:
>>>> On 2 okt 2008, at 14.46, Mikel Larreategi wrote:
>>>>
>>>>> I don't know how to do it for QuillsEnabled, perhaps what Tim says
>>>>> with
>>>>> collective.portletsbyiface is the way to go, but at least I think we
>>>>> should fix the portlet handling in Products.Quills.
>>>> QuillsEnabled should not register portlets on an interface instead it
>>>> should just register them on the context(folder) you convert to a
>>>> blog. That way you can remove and change folders for that blog.
>>> 
>>> That may well be the best way to go.  It certainly sounds like an
>>> improvement over what we've got at the moment.  Feel free to implement
>>> this :).
>> 
>> I have created these three branches:
>> 
>>
>
https://svn.plone.org/svn/collective/quills.app/branches/erral-portlet-handling/
>>
>
https://svn.plone.org/svn/collective/Products.Quills/branches/erral-portlet-handling/
>>
>
https://svn.plone.org/svn/collective/Products.QuillsEnabled/branches/erral-portlet-handling/
>> 
>> And implemented there the new portlet behaviour:
>> 
>> - In quills.app there is no mention to porltet installation.
>> - In Products.Quills, portlets are registered by content-type to Weblog
>> elements, through GS's portlets.xml file
>> - In Products.QuillsEnabled, portlets are registered in the context when
>> the blog behaviour is activated, and unregistered when deactivated.
>> 
>> - I've added a GS upgradeStep both in Products.Quills and
>> Products.QuillsEnabled to remove the by-interface registration.
>> 
>> Comments welcome :)
>> 
>> Mikel
>> 
> 
> 
> _______________________________________________
> quills-dev mailing list
> [email protected]
> http://lists.etria.com/cgi-bin/mailman/listinfo/quills-dev


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

Reply via email to