[z3-five] Re: Z3/Five-views and portal_skins
Tres Seaver
tseaver at zope.com
Fri Nov 5 11:28:30 MET 2004
Lennart Regebro wrote:
> Sidnei da Silva wrote:
>
>> On Fri, Nov 05, 2004 at 03:04:34PM +0100, Lennart Regebro wrote:
>> | I'm sorry, I feel very daft and slow today, and can't find it. Do
>> you | remember what it was called?
>>
>> Sorry, it's not there anymore. I've implemented it on a branch and
>> then gave up. There's 'resourceDirectory' though which can be a good
>> start.
>
>
> Well, I took a look at it and tried to think:
>
> The skins are already available through acquicistion. Getting to them is
> not a problem. So really, I don't even understand how this would help.
>
> It seems to me that I can skip the views and use portal_skins instead or
> I can skip the portal_skins and use only views.
>
> But I can't seem to be able to use the views while retaining the design,
> layout, macros, and boxes and all that stuff that you get with
> <html metal:use-macro="context/main_template/macros/master"> in a skin.
I have a stab at that available:
http://codespeak.net/svn/z3/CMFonFive/trunk
I'm afraid the solution there is not entirely satisfactory: it requires
cloning the CMF templates (e.g. 'document_view', etc.) to allow bridging
between the expectations of ZPT in Z2 vs. Z3.
Tres.
--
===============================================================
Tres Seaver tseaver at zope.com
Zope Corporation "Zope Dealers" http://www.zope.com
More information about the z3-five
mailing list