Re: [Zope-CMF] Five:traversable and PortalContent

2005-11-30 Thread Lennart Regebro
On 11/29/05, Brent Hendricks [EMAIL PROTECTED] wrote: When goldegg was first started, plone had a line like this in configure.zcml: five:traversable class=Products.CMFCore.PortalContent.PortalContent / I've noticed that this line causes failures in the CMFCore tests so I'm

[Zope-CMF] Re: Proposal for hooking rendering

2005-11-30 Thread Paul Everitt
Paul Winkler wrote: On Tue, Nov 29, 2005 at 09:34:09AM +0100, Paul Everitt wrote: Hi all. I'd like to make a small proposal to enable investigation of a larger proposal. I'm generally interested in the ideas of pipelines for markup rendering. Specifically, I'm interested in separating the

Re: [Zope-CMF] Re: Proposal for hooking rendering

2005-11-30 Thread Paul Winkler
On Wed, Nov 30, 2005 at 09:40:40AM +0100, Paul Everitt wrote: Paul Winkler wrote: 3) Universal. The corporate id is not optional. It gets imposed on every page in a site. That goes too far IMO. Opt-in is a pain, but if you remove it, we need to add an opt-out feature. Consider for

[Zope-CMF] Meld2, was Re: Proposal for hooking rendering

2005-11-30 Thread Paul Winkler
(changing the subject to avoid hijacking Paul E.'s thread any further) On Wed, Nov 30, 2005 at 02:48:12PM +, Martin Aspeli wrote: What a pure-play Meld approach doesn't give us, however, is the ability to modularise and re-use elements of the UI (i.e. if they are to be used in various

[Zope-CMF] Re: Proposal for hooking rendering

2005-11-30 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Paul Winkler wrote: On Wed, Nov 30, 2005 at 09:40:40AM +0100, Paul Everitt wrote: Paul Winkler wrote: 3) Universal. The corporate id is not optional. It gets imposed on every page in a site. That goes too far IMO. Opt-in is a pain, but if you

Re: [Zope-CMF] Meld2, was Re: Proposal for hooking rendering

2005-11-30 Thread Paul Winkler
On Wed, Nov 30, 2005 at 01:16:08PM -0500, Paul Winkler wrote: I need to post some reuse examples OK, here's a simple one: http://w oops, didn't get the URL in. http://slinkp.com/code/zopestuff/templates/examples.tgz -- Paul Winkler http://www.slinkp.com

Re: [Zope-CMF] Re: Proposal for hooking rendering

2005-11-30 Thread Dieter Maurer
Paul Winkler wrote at 2005-11-30 10:33 -0500: ... When you customize a FSPageTemplate, you get a plain ZopePageTemplate. So you'll need to find a way to post-process the output of those without requiring a change to core Zope, or this becomes a Zope proposal. Unfortunately I haven't a clue how

Re: [Zope-CMF] Re: Proposal for hooking rendering

2005-11-30 Thread Sidnei da Silva
On Wed, Nov 30, 2005 at 08:24:56PM +0100, Dieter Maurer wrote: | Paul Winkler wrote at 2005-11-30 10:33 -0500: | ... | When you customize a FSPageTemplate, you get a plain ZopePageTemplate. | So you'll need to find a way to post-process the output of those | without requiring a change to core

[Zope-CMF] Re: Meld2, was Re: Proposal for hooking rendering

2005-11-30 Thread Martin Aspeli
It's a lot looser than knowing the whole DOM. You just need to know the IDs. And in some cases, only when an id is used in multiple places, you will need to know the id of its parent. That's the only mental model you need. You don't need to have any idea what the tags are or how the page

Re: [Zope-CMF] Re: Proposal for hooking rendering

2005-11-30 Thread Seb Bacon
On 11/30/05, Paul Everitt [EMAIL PROTECTED] wrote: Still, I'm hoping that my small, 3-line proposal doesn't get changed into a let's replace templating systems discussion. :^) I'm trying to find the smallest necessary part to cover the maximum interest. Again to the CMF community:

Re: [Zope-CMF] Re: Meld2, was Re: Proposal for hooking rendering

2005-11-30 Thread Paul Winkler
On Wed, Nov 30, 2005 at 08:54:34PM -, Martin Aspeli wrote: It's a lot looser than knowing the whole DOM. You just need to know the IDs. And in some cases, only when an id is used in multiple places, you will need to know the id of its parent. That's the only mental model you need. You

Re: [Zope-CMF] Re: Meld2, was Re: Proposal for hooking rendering

2005-11-30 Thread Paul Winkler
On Wed, Nov 30, 2005 at 08:54:34PM -, Martin Aspeli wrote: ... And again, for the site themer role, a layer on top of that like what Paul is describing sounds appealing. Just to be clear, I wasn't trying to say that Meld2 serves the same purpose as Paul E's proposal. Rather, I was going

Re: [Zope-CMF] Five:traversable and PortalContent

2005-11-30 Thread Brent Hendricks
On 11/30/05, Lennart Regebro [EMAIL PROTECTED] wrote: I think it *is* in the core now. I'm not sure it should be, though. The only five:traversable declarations I see in the core now are for the workflow and types tools. It's there to allow you to make views for objects, and I'm not at all

[Zope-CMF] Frostbite: New Release

2005-11-30 Thread sureshvv
Tres has a new release 0.4 of Frostbite at http://palladion.com/home/tseaver/software/Frostbite that addresses some of these issues. Suresh ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See

[Zope-CMF] CookieCrumbler redirects to login page

2005-11-30 Thread sureshvv
My site is redirecting logged in users to the login page intermittently without any error message (on the screen, error_log or event.log even with VerboseSecurity installed) when they access certain potions of the site. What changes do I need to make to get the permission that was denied? Can