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.) 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."