[CPS-devel] skins method not found in registered skin path

Georges Racinet gracinet at nuxeo.com
Tue May 2 01:21:31 CEST 2006


Le 28 avr. 2006, à 19:47, Joachim Schmitz a écrit :

> in my products __init__.py I have:
>
> registerDirectory('skins', globals())
>
> therein a directory waeup_default with a layout_waeup_view.pt
>
> when I access a view which uses layout_waeup_view, I get:
>
> No layout method 'layout_waeup_view' for layout 'faculty'
>
> when I customize the zpt to the portal_skins/custom folder, the 
> layoutmethod is found.
>
> This all happens during bringing this product to use Genericsetup.
>
> Any hint why the registerDirectory does not work as before is welcome.

You have to do the GenericSetup equivalent of CPSInstaller's 
verifySkins.
Check CPSDefault/profiles/default/skins.xml to see how it works.


>
>
> -- 
> Mit freundlichen Grüßen                                Joachim Schmitz
> ......................................................................
> AixtraWare eK ..Joachim Schmitz ..www.aixtraware.de ..t: +49-2464-8851
> Hüsgenstr. 33a .....d-52457 Aldenhoven .............f: +49-2464-905163
>
>
> _______________________________________________
> cps-devel mailing list
> http://lists.nuxeo.com/mailman/listinfo/cps-devel



More information about the cps-devel mailing list
More information about CPS: CPS project - CVS - API

Hosting: Nuxeo: Zope service provider


This list archive provided by Nuxeo, the leaders of open source ECM. Check out the Nuxeo 5 open source, standards-based ECM project.