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

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

Reply via email to