[Zope-CMF] CMFDecor troubles

Andrew Sawyers andrew@digicool.com
Wed, 25 Jul 2001 13:45:28 -0400


Okay, here is a update on what's happening at present with CMFDecor skins.
At the moment I am redoing the skin to be more 'user friendly' with a
slightly new look and feel.  Moving the actions around, fixing the
stylesheet (hoepfully), improving the document view, etc.
When it's done, you'll be able to load the main_template and do your layout
editing in something like Dreamweaver (what I'm using on this project) or
GoLive.  At present, using a powerful editing tool like these results in an
experience not too pleasant or useful for designers to start customizing
from.
Thus, there is going to be an entirely new skin for the ZPT based skins and
as a result they won't be developed in parallel to changes in the CMFDefault
skins.  In this new skin development task I'm going to end up adding support
for file system css files (as a FSDTMLMethod) so that everything loads as
expected from a local machine and translation through TAL works on a site as
expected.
This will make likely make custimation's easier.
Personally I am migrating to the camp Presentation belongs in ZPT and  logic
in Python Scripts or file system python modules.  I know there is still a
need for DTML (I just don't know what it is well enough to iterate it) and
thus would recommend to those who are planning on doing skins to go the ZPT
route versus trying to provide both.  This would be a lot of extra work, and
as you've pointed out makes changes required in two areas.
I think that you're going to see our sites all using the ZPT based skins
over the DTML based ones.  I know this is the case for Zope.com and
Zope.org.  Tres will make the final decision for the dogbowl, but I
anticipate this to be them to be there default there as well.
Hope this answers some of your questions and gives you a better planning
point for your skin decisions.
Andrew

> -----Original Message-----
> From: seb@lenin.jamkit.com [mailto:seb@lenin.jamkit.com]On Behalf Of seb
> bacon
> Sent: Wednesday, July 25, 2001 12:54 PM
> To: Andrew Sawyers
> Cc: zope-cmf@zope.org
> Subject: Re: [Zope-CMF] CMFDecor troubles
>
>
> I'd love to start moving over to ZPT soon, but one problem is that
> hitherto the Decor skins have not been synchronised with the DTML
> skins.  Is there any kind of process for keeping them parallel?
> Should we start recommending people submit both when they're creating
> new skins?  Are you ZC folks moving over to them for your templates,
> or when do you intend to do so?  So many questions ;-)
>
> seb
>
> * Andrew Sawyers <andrew@digicool.com> [010725 16:33]:
> > Yes, the CMFDecor has recently gone through a complete skin conversion.
> > What versions of Zope and CMF are you using?  I'm running on the latest
> > checkout's of Zope 2.3.3 and CMF without any problems.  Can you
> also provide
> > the full Traceback?
> > Thanks,
> > Andrew
> >
> > > I grabbed the latest from CVS and it installed just fine but
> I have some
> > > troubles viewing news items; when I try to view and item I
> get this error:
> > >
> > > Error Type: TALESError
> > >  Error Value: exceptions.TypeError on too many arguments;
> > > expected 1, got 2
> > > in "<PythonExpr here.talkback.hasReplies(here)>"
> > >
> > > I tried to remove the "here" argument but then I just got some
> > > other errors
> > > and I was kinda loosing my overview of what was happening ;-)
> > >
> > > I hope CMFDecor is being maintained as I would prefer not to have
> > > too much
> > > DTML in my code...
> >
> >
> > _______________________________________________
> > Zope-CMF maillist  -  Zope-CMF@zope.org
> > http://lists.zope.org/mailman/listinfo/zope-cmf
> >
> > See http://www.zope.org/Products/PTK/Tracker for bug reports
> and feature requests
>
> --
>
>    [] j a m k i t
>
>         seb bacon
> T:  020 7749 7218
> F:  020 7739 8683
> M:  07968 301 336
> W: www.jamkit.com
>