[Zope-PTK] CMF some basic Q
Bill Anderson
bill@libc.org
18 Mar 2001 00:05:44 -0700
On 16 Mar 2001 23:27:26 -0500, Tres Seaver wrote:
> > I misspoke, that is _still_ the same color as the rest of the page's
> > font. I cannot change _just_ the heading's color, I have to change my
> > font color for everything not explicity redefined later. To change it
> > -still- requires changing the FS, no? If i want to add a
> > &dtml-header-color;, I need to change the FS version (which is cool),
> > and restart zope (which is not).
>
> Nope; customize generic/default_style_sheet (*not* on the file system!
> select it in the skin folder and hit the "Customize" button, then edit
> a real, live, TTW DTML method!). **All** the filesystem-based skin objects
> are belong to us! (Well, the ones we ship with the CMF, anyway). You are
> *supposed* to either:
>
> * customize them into TTW versions, which "override" the FS versions
> due to the name lookup precedence given to the 'custom' folder;
>
> * or else create and register new skins directories (e.g., under a
> product of yours), and arrange for the same-named skins objects to
> be found in your FS-based folders, rather than ours.
>
> >
> > >
> > > If you want to change that color with skins, you can do it a couple of ways:
> > >
> > > (1) Go to portal_skins/generic/default_style_sheet (in the Zope Management
> > > Interface) and hit 'customize' to copy it into a custom folder. Go
> > > down to the h1 declaration and change color by hand - not referring to
> > > any DTML variable.
>
> This is the one you missed.
So, there is _supposed_ to be an edit tab then?
I am running the beta, with a very (few days ago) recent CVS of Zope. I
have no edit tab, is that the problem? The only management tabs I have
when i do this are:
Contets, view, properties, securitiy, undo, ownership, find.
The only thing i can change (yes, I am the manager), is the values of
the variables. Bug perhaps then?
I can provide you with a login if you would like to verify it. :^)
>
> > >
> > > (2) Go to portal_skins/generic/stylesheet_properties in the ZMI and do
> > > a 'customize' on it. Find the property for 'base_font_color' and
> > > change the property to reflect your desired color.
> >
> > And watch the rest of my page (with few exceptions) follow suit). :^)=
>
> Changing the 'base_font_color' is pretty drastic, sure; if you *don't*
> want the H1 rule to use that color name, then customize the stylesheet
> to refer to another one!
That was my problem, and it may inded be that it is a reult of a bug
that does not show me the edit tab? I _cannot_ change the drml TTW.
If I could, I would have kept my trap shut. :)
...
> > To provide yet another argument for the FSView stuff not mandating a
> > restart ...
> > Let's say I want ot add a CSS class, or change an existing one. Again,
> > to the FS I go.
>
> *I* don't go the the FS for this, nor does anyone else.
s above, perhaps a bug is causing the edit tab to be missing. As it
sits, in all the CMF's I have installed, I have never had an option to
change the DTML itsself, TTW. Now, if _you_ couldn't either, you
probably would go to the FS. (Or change the code, nut I didn't know
there was supposed to be an edit tab) :)
> > All clicking 'customize' does, AFAICT, is allow you to change the
> > provided property values, nohting more.
> >
> > IMO, debug is for debugging, not for standard, simple, non-code changes.
>
> Sorry to keep repeating, but you are hammering hard on your mis-
> apprehension that the FS DTML can't be customized TTW.
Actually, Tres, as i have been repeating (sorry, for the same reasons),
on mine, there is no way. it may very well be abug, I can accept that.
But see it from my point of view. Not once have I ever seen a way to
edit the actual DTML TTW after clicking on 'customize'. And I have
screen shots I can show it. :)
At this point, i woulnd't call it misapprehension, just a missing tab,
perhaps? I've been hammering hard because I have no means of editing
DTML through the web. :^)=
Bill