Fabrice Robin a écrit :
Hi !
It is not the first time that this kind of question appears on the CPS
discussion lists and there has never been a good answer...
There is a bug in MetaDirectory._getContentUrl which i was not able to
resolve. I spent a long time on this one trying to understand how the
different kind of directories work together.
Finally, I tried to write a patch ONLY to be able to add photo to members.
You will find this patch in attachment (Valid for CPS 3.4.0 and CPS
TRUNK). This patch also allowes to view/modify/resize photos from LDAP
directories.
I do insist on the fact that this is not a correction at all and there
can be side effects (Even if i had not met them yet !) as _getContentUrl
has been re-written only to serve images.
Hopes it will help you and others !!!
Regards,
Fabrice Robin
PS: Maybe this patch should be forwarded to cps-users-fr ans cps-users...
You should attach your patch to the related ticket in the bug tracker :
http://svn.nuxeo.org/trac/pub/ticket/1557
--
Olivier
_______________________________________________
cps-devel mailing list
http://lists.nuxeo.com/mailman/listinfo/cps-devel