[Zope-CMF] Problem with Topics

Rolander, Dan Dan.Rolander@marriott.com
Thu, 26 Apr 2001 16:08:36 -0400


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C0CE8C.AD6DC750
Content-Type: text/plain;
	charset="iso-8859-1"

Never mind. I figured it out. I moved too quickly and didn't set the default
type info. Oops.
 
Dan

-----Original Message-----
From: Rolander, Dan [mailto:Dan.Rolander@marriott.com]
Sent: Thursday, April 26, 2001 3:20 PM
To: zope-cmf@zope.org
Subject: [Zope-CMF] Problem with Topics


Hi,
 
I've followed the instructions at
http://cmf.zope.org/doc/admin/AddingTopicsToTheBeta/view
<http://cmf.zope.org/doc/admin/AddingTopicsToTheBeta/view>  for adding
Topics to CMF 1.0, and I see Topic listed in the Add Content screen, but
when I try to add a Topic I get an Unauthorized error, even though I'm
trying this as a Manager and the security permissions look okay. From the
URL it looks like it's choking on the invokeFactory method.
 
Besides following the posted instructions, I also manually added the
portal_types Topic properties and actions. I used addTopic for the factory
method. Is this correct? I also tried topic_add and this gives me a KeyError
for standard_html_header.
 
Also, where do I find the other factory methods like addNewsItem? I can't
find them. Do I have to go to the file system and look at the source?
 
Can anyone help?
 
Thanks,
Dan
 


------_=_NextPart_001_01C0CE8C.AD6DC750
Content-Type: text/html;
	charset="iso-8859-1"

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">


<META content="MSHTML 5.00.3019.2500" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN class=887331620-26042001>Never 
mind. I figured it out. I moved too quickly and didn't set the default type 
info. Oops.</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN 
class=887331620-26042001></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN 
class=887331620-26042001>Dan</SPAN></FONT></DIV>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px">
  <DIV align=left class=OutlookMessageHeader dir=ltr><FONT face=Tahoma 
  size=2>-----Original Message-----<BR><B>From:</B> Rolander, Dan 
  [mailto:Dan.Rolander@marriott.com]<BR><B>Sent:</B> Thursday, April 26, 2001 
  3:20 PM<BR><B>To:</B> zope-cmf@zope.org<BR><B>Subject:</B> [Zope-CMF] Problem 
  with Topics<BR><BR></DIV></FONT>
  <DIV><FONT face=Arial size=2><SPAN 
  class=651352219-26042001>Hi,</SPAN></FONT></DIV>
  <DIV><FONT face=Arial size=2><SPAN 
  class=651352219-26042001></SPAN></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2><SPAN class=651352219-26042001>I've followed the 
  instructions at <A 
  href="http://cmf.zope.org/doc/admin/AddingTopicsToTheBeta/view">http://cmf.zope.org/doc/admin/AddingTopicsToTheBeta/view</A>&nbsp;for 
  adding Topics to CMF 1.0, and I see Topic listed in the Add Content screen, 
  but when I try to add a Topic I get an Unauthorized error, even though I'm 
  trying this as a Manager and the security permissions look okay. From the URL 
  it looks like it's choking on the invokeFactory method.</SPAN></FONT></DIV>
  <DIV><FONT face=Arial size=2><SPAN 
  class=651352219-26042001></SPAN></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2><SPAN class=651352219-26042001>Besides following 
  the posted instructions, I also manually added the portal_types Topic 
  properties and actions. I used addTopic for the factory method. Is this 
  correct? I also tried topic_add and this gives me a KeyError for 
  standard_html_header.</SPAN></FONT></DIV>
  <DIV><FONT face=Arial size=2><SPAN 
  class=651352219-26042001></SPAN></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2><SPAN class=651352219-26042001>Also, where do I 
  find the other factory methods like addNewsItem? I can't find them. Do I have 
  to go to the file system and look at the source?</SPAN></FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2><SPAN class=651352219-26042001>Can anyone 
  help?</SPAN></FONT></DIV>
  <DIV><FONT face=Arial size=2><SPAN 
  class=651352219-26042001></SPAN></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2><SPAN 
  class=651352219-26042001>Thanks,</SPAN></FONT></DIV>
  <DIV><FONT face=Arial size=2><SPAN 
  class=651352219-26042001>Dan</SPAN></FONT></DIV>
  <DIV><FONT face=Arial size=2><SPAN 
  class=651352219-26042001></SPAN></FONT>&nbsp;</DIV></BLOCKQUOTE></BODY></HTML>

------_=_NextPart_001_01C0CE8C.AD6DC750--