Re: [Zope] ZDiscussions in classes?
> Do you have anonymous access turned off? (I.E. do you need a password > to view anything?) I can view the main artist page just fine. > If you cancel the request, do you get a traceback > pointing to something in the TreeTag file? If so, you may need to > allow anonymous users to access content information for the > discussions. I get the following: Unauthorized You are not authorized to access this resource. Username and password are not correct. Traceback (innermost last): File D:\Programs\Zope\lib\python\ZPublisher\Publish.py, line 214, in publish_module File D:\Programs\Zope\lib\python\ZPublisher\Publish.py, line 179, in publish File D:\Programs\Zope\lib\python\ZPublisher\Publish.py, line 151, in publish File D:\Programs\Zope\lib\python\ZPublisher\BaseRequest.py, line 446, in traverse File D:\Programs\Zope\lib\python\ZPublisher\HTTPResponse.py, line 551, in unauthorized Unauthorized: (see above) > I don't understand why this should be the case, and I couldn't > debug it because I couldn't figure out what validate did. But you get the same error? And it's supposed to (ie: not horribly bad thinking on my part? :) be possible to do this? -- Alexander Limi [EMAIL PROTECTED] ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] ZDiscussions in classes?
> charset="iso-8859-1" > > Hi, > > I have a problem with getting ZDiscussion working the way I want it to. > First a little background, so it becomes easier for me to explain what I > want to do: > > On my site I have several users (called "artists") that I have built a > ZClass for. This Artist-ZClass contains a propertysheet with the properties > of the artist, it also subclasses ObjectManager, so the artists can add > their own pictures in their own object. > > This works excellent, and I am about to take the next step - adding a > discussion forum on each artist, so people can discuss the artist's work > directly on his pages. > > I then tried to add a ZDiscussion Topic ("discuss") in the ZClass. (I also > regenerated the methods before proceeding, to get the default interface.) > > When I tried to access the discussion at: > > http://my.host/artists/testartist/discuss > > Zope asks me for a login, and not even the superuser can access it. > > Either my thinking is screwed up (it often is ;), or it is impossible to > accomplish this with ZDiscussions. Could anyone offer me some insight as to > what I'm doing wrong here? > Do you have anonymous access turned off? (I.E. do you need a password to view anything?) If you cancel the request, do you get a traceback pointing to something in the TreeTag file? If so, you may need to allow anonymous users to access content information for the discussions. I don't understand why this should be the case, and I couldn't debug it because I couldn't figure out what validate did. -- cary ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] ZDiscussions in classes?
Hi, I have a problem with getting ZDiscussion working the way I want it to. First a little background, so it becomes easier for me to explain what I want to do: On my site I have several users (called "artists") that I have built a ZClass for. This Artist-ZClass contains a propertysheet with the properties of the artist, it also subclasses ObjectManager, so the artists can add their own pictures in their own object. This works excellent, and I am about to take the next step - adding a discussion forum on each artist, so people can discuss the artist's work directly on his pages. I then tried to add a ZDiscussion Topic ("discuss") in the ZClass. (I also regenerated the methods before proceeding, to get the default interface.) When I tried to access the discussion at: http://my.host/artists/testartist/discuss Zope asks me for a login, and not even the superuser can access it. Either my thinking is screwed up (it often is ;), or it is impossible to accomplish this with ZDiscussions. Could anyone offer me some insight as to what I'm doing wrong here? -- Alexander Limi [EMAIL PROTECTED] ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )