Tim Hicks wrote: > Jan Hackel wrote: >> ---------- Forwarded Message ---------- >> From: Sasha Vincic <[EMAIL PROTECTED]> >> >> On 26 sep 2008, at 11.14, Jan Hackel wrote: >>> This is the view of the programmer, but not of the user. IMO the >>> user cares little whether one of his action modifies anything. If he wants >>> to display a folder as a blog, then what would be more appropriate then to >>> place it in the display menu? Besides blog toggling does little >>> modification than viewswitching does, there too the selected view needs to >>> be recorded. >> Agree on this but then the way QuillsEnabled works need to change, i.e >> portlets registration (still broken imho) > > Yes, sadly the portlet handling does seem to be pretty broken. Despite > Martin Aspeli's (generous) help, I was never able to come up with the > right pattern and code for making portlets behave as they should do. > > Figuring out how to have a nice --- user- and UI-friendly --- way of > handling portlet assignments on the basis of interfaces (rather than > portal_type) and making this easily blocked, etc, would be a very useful > thing for someone to do.
I'm probably completely out of context and therefore way off but if the goal is to have portlets on folders that were turned in blogs one could assign a custom portlet type to the folder type and have its 'available' method check for the marker interface. Just a thought ... Raphael > I dumped a bit of (broken/incomplete) code to > this end in the collective.portletsbyiface package > <http://dev.plone.org/collective/browser/collective.portletsbyiface/>. > > > Tim _______________________________________________ quills-dev mailing list [email protected] http://lists.etria.com/cgi-bin/mailman/listinfo/quills-dev
