[Zope-CMF] How to disable Created by:xxxxx link if Member is not listed

Norman Khine norman@bmpublications.co.uk
Thu, 26 Jul 2001 13:11:46 +0100


Hi,
Is there a way in which to suppress the error message that shows up when a
user is unauthorised to view a content. My problem here is that if a member
is not-listed, their link still has a href= which leads to a login box, what
I want is to be able to show the username for the content provider, BUT if
this user has decided not to be listed, the link to their home page should
be disabled.

The same is happening on the cmf.zope.org site, see example

http://cmf.zope.org/Members/runyaga/cmfemployment_001 and if you try to link
to runyaga's home page you are unauthorized.

Obviously, he is not listed ;^)

So perhaps a link to say this user is not listed, or maybe to disable the
link, but how?

Cheers

Norman