[Zope-PTK] CMF some basic Q

Martijn Pieters mj@digicool.com
Tue, 13 Mar 2001 21:37:37 +0100


On Mon, Mar 12, 2001 at 12:04:22PM -0500, Shane Hathaway wrote:
> Norman Khine wrote:
> > Can someone please tell me how to create my own skins or if there are any
> > particular steps needed to be taken?
> > Am I correct to assume that the /custom folder in the ZMI is where these
> > skins are built? If thats true, do I have to create seperate subfolders ie
> > for images, content control etc etc...?
> > As a simple example I tried to change the logo.png, so what I did was to go
> > to the Image folder click on logo.png then click on Customize which in turn
> > creates a copy of logo.png in the customs folder, I then Browse and get the
> > image I want to place and Uploaded, Save the changes and then do a view.
> > This is where the problem happens, when viewing I am unable to see anything,
> > it just gives an outline of the image.
> > Can you please direct me in the right direction as to how one is able to
> > create their own skins> 

<Snip Shane's explanation on skins and layers>

> I'm not sure what happened with your logo.png.  But this is probably a
> good enough time to explain an issue with the "Images" folder: since the
> images are currently invoked in the skins by a name that includes
> "Images", it's not as easy to override images in different skin layers. 
> Instead of asking for "Images/logo.png", the skins ought to be asking
> for just "logo.png".  As it is now, you have to create your own "Images"
> folder within a different skin layer then customize *all* of the
> images.  It's just a matter of fixing DTML, though.

This is now fixed in CVS. All references in DTML to Images/ have been
removed, and 'Images' is now part of the skins' path. A Python Script has
been included with the checkin that will update existing skin paths for
you.

-- 
Martijn Pieters
| Software Engineer  mailto:mj@digicool.com
| Digital Creations  http://www.digicool.com/
| Creators of Zope   http://www.zope.org/
---------------------------------------------