----- Original Message ----- From: "J. Cameron Cooper" <jccooper@jcameroncooper.com> To: "Matt Carey" <matt@studiolift.com> Cc: <zope@zope.org> Sent: Wednesday, December 10, 2003 10:16 PM Subject: Re: [Zope] not authorised to access this resource
Matt Carey wrote:
sorry if this is a simple question...
i have some restricted folders in a zope site and i'm using acl_users and roles to control access.
when the username and password box comes up and someone hits cancel, zope(?) generates the following line of text:
you are not authorised to access this resource. username and password are not correct.
my problem is the code it generates:
<strong>you are not authorised to access this resource.</strong><p> username and password are not correct.
the text is fine, but when it goes into my dtml page it is playing havoc with my layout and css. where can i find this error message so i can amend the html tags?
Have some tool do a search through the text of the Zope source for that string or portions thereof. If on Unix, 'grep -R "search string" zope/lib/python' works great. Otherwise I have no idea (though I've heard that the default Windows search tools are quite broken.)
I can attest... the searching in windows has been "enhanced" (broke). cygin on windows will make it "greppable" though :)
Is your problem because the HTML is not well-formed? If so, I think a bug report is in order. (But check cvs.zope.org first to see if it's been corrected recently.)
--jcc
-- "My point and period will be throughly wrought, Or well or ill, as this day's battle's fought."
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )