|
Hello everybody,
In PortalThemesTool.py there is a method that returns the identifiers of available renderers. I would like to add one more renderer. What do you think about this feature to be configurable from ZMI? It could be one of the properties of portal_themes so that anybody could add new renderers. This could be useful to create a WML renderer, for example.
The method is:
security.declarePublic('listPageRenderers') def listPageRenderers(self): """ returns the list of page renderers """ renderers = ['default', 'compatible', 'textonly', 'automatic', 'profiler'] return renderers
If you find it useful to add this feature it to the trunk, I'll create a ticket and I'll implement it if you'd rather.
What I would do is:
Thank you. JoseLuis de la Rosa
Triviño
Este correo electrónico y, en su caso, cualquier fichero anexo, contiene información confidencial exclusivamente dirigida a su(s) destinatario(s). Toda copia o divulgación deberá ser autorizada por IAVANTE. This e-mail and any attachments are confidential and exclusively directed to its adressee(s). Any copy or distribution will have to be authorized by IAVANTE.
|
_______________________________________________ cps-devel mailing list http://lists.nuxeo.com/mailman/listinfo/cps-devel
