On Sep 3, 2009, at 12:54 PM, M.-A. DARCHE wrote:

Hello all,

You are following the commits on CPS [*], you may have noticed that
there is a lot of activity around CPSDesignerThemes:

http://www.racinet.fr/index.php?post/2009/06/10/A-new-themes-engine-for-CPS
https://svn.nuxeo.org/trac/pub/browser/CPS3/products/CPSDesignerThemes/trunk

I'm writing some notes about CPSDesignerThemes, mainly aimed to Georges,
but which might interest people here:

Thanks !


* The shipped themes shouldn't be in doc/sample_themes/ but in a
 "themes" directory at the root of the product. This is were people
 would expect them.

Go for it, this "sample_themes" directory has been created at the very beginning of the project.
It wasn't meant to be used as it is today.


* Since the theme resolver is being worked on, I would love to have
the theme resolver be able to deal with a theme associated to a unique
 page and not a whole directory as it is mandatory now.

 This would be more flexible than it is now. For example on the
 http://www.aful.org/ CPS portal, we have web sites being
 only one page, for example
 http://bons-constructeurs-ordinateurs.info/
 http://bons-vendeurs-ordinateurs.info/
 With the current limitation we have to create a directory (workspace)
 with a unique page in it for each of those web sites.

Note that for now the themes and page negociation actually wraps the logic defined in CPSSkins' tool. Hence that'd have to be changed there -- and you could enjoy it on aful.org right away,
no need to wait for your switch to CPSDesignerThemes to be complete.


* Finally, it would be good if the cpsskins_export method did the
 disabling and then re-enabling of CPSDesignerThemes by itself.
 This part is not straightforward and I fear we would lose the
 administrators/developers that will try to switch from CPSSkins
 to CPSDesignerThemes

Definitely.

I'm eager to see AFUL's cps portal be the third running on CPSDesignerThemes ;-)

--
Georges Racinet, http://www.racinet.fr
Zope/CPS/Plone expertise, assistance & development
GPG: 0x4862FFF7







_______________________________________________
cps-devel mailing list
http://lists.nuxeo.com/mailman/listinfo/cps-devel

Reply via email to