[Zope-CMF] Re: Getting started with CMF

Jens Vagelpohl jens at dataflake.org
Tue Nov 21 11:14:18 EST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On 21 Nov 2006, at 16:30, Charlie Clark wrote:
>> We plan to replace all skin methods and templates by Zope 3 style  
>> views. All forms should be reimplemented using zope.formlib, so  
>> most templates will become obsolete. We could need help with this  
>> new UI, but working on the old one doesn't make much sense.
>
> Now, where have I heard that one before! ;-) Okay. Which version of  
> CMF will be like this?

That's ongoing work and it's not clear which version will have it all  
complete.


> As for what I'd like to be able to do: customise the homepage to  
> include some content from elsewhere in Zope - ie. a football league  
> table. As I don't want to include this stuff on every page I  
> obviously don't need to patch main_template. Do I add my own  
> index_html in the site root for this?

No, you either go into the portal_skins tool, find the main_template  
and use the "Customize" functionality to create a copy in the  
"custom" skin folder, which you can edit. Or, and this is the more  
complicated but "right" way to do it, you create a filesystem product  
with a filesystem skin folders and maintain your new main_template on  
the file system. Then you just need to make sure your new skin folder  
is higher up in the list of skin folders for the skin you use. A good  
sample product for setting up a new skin folder and integrating it is  
CMFCalendar, which is part of the CMF.

jens


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)

iD8DBQFFYyXaRAx5nvEhZLIRAtPwAKCk2bTMcn2hQ6M+mBybhp7nOo3ADwCfRiB6
Z+zoXutXKlCXZJnmbd6sAyM=
=lhM2
-----END PGP SIGNATURE-----


More information about the Zope-CMF mailing list