[Zope-PTK] AW: [Zope-PTK] How to add topics

Gottfried Ryser gryser@cgx.ch
Wed, 6 Sep 2000 19:59:49 +0200


Tres

Thank you, I see the text inside the portal under "My stuff" on the Desktop,
but seems not publish, even I set status "published" But other problems are
around  (PTK 0.8.2) like en error whan hitting reconfigure the portal and
"Click here to replace...


I see in the index page the code for the news items "<a href="<dtml-var
"getCatalog()..." do I nee something similar to get the Documents listet?

Do I need other modules like ZCallable?
the following error msg:

Error Type: NameError
Error Value: Control_Panel



----------------------------------------------------------------------------
----

Troubleshooting Suggestions

This resource may be trying to reference a nonexistent object or variable
Control_Panel.
The URL may be incorrect.
The parameters passed to this resource may be incorrect.
A resource that this resource relies on may be encountering an error.
For more detailed information about the error, please refer to the HTML
source for this page.

If the error persists please contact the site maintainer. Thank you for your
patience.



Traceback (innermost last):
  File /usr/local/Zope2/lib/python/ZPublisher/Publish.py, line 222, in
publish_module
  File /usr/local/Zope2/lib/python/ZPublisher/Publish.py, line 187, in
publish
  File /usr/local/Zope2/lib/python/Zope/__init__.py, line 221, in
zpublisher_exception_hook
    (Object: DemoPortalBase)
  File /usr/local/Zope2/lib/python/ZPublisher/Publish.py, line 171, in
publish
  File /usr/local/Zope2/lib/python/ZPublisher/mapply.py, line 160, in mapply
    (Object: select_interface)
  File /usr/local/Zope2/lib/python/ZPublisher/Publish.py, line 112, in
call_object
    (Object: select_interface)
  File /usr/local/Zope2/lib/python/OFS/DTMLMethod.py, line 172, in __call__
    (Object: select_interface)
  File /usr/local/Zope2/lib/python/DocumentTemplate/DT_String.py, line 528,
in __call__
    (Object: select_interface)
  File /usr/local/Zope2/lib/python/DocumentTemplate/DT_In.py, line 633, in
renderwob
    (Object: Control_Panel.Products.DemoPortal.Interfaces.objectIds())
  File /usr/local/Zope2/lib/python/DocumentTemplate/DT_Util.py, line 337, in
eval
    (Object: Control_Panel.Products.DemoPortal.Interfaces.objectIds())
    (Info: Control_Panel)
  File <string>, line 0, in ?
NameError: (see above)


Thanks for help

Gottfried Ryser


> -----Ursprüngliche Nachricht-----
> Von: Tres Seaver [mailto:tseaver@palladion.com]
> Gesendet: Mittwoch, 6. September 2000 06:07
> An: gryser@cgx.ch
> Cc: org Zope-PTK@zope.
> Betreff: Re: [Zope-PTK] How to add topics
>
>
> Gottfried Ryser wrote:
>
> > I feel a bit stupid, after installting the PTK (I'm a newbie) I checked
> > around and tried to ad a document and news. I can add this
> items, can review
> > them and set a status, but can't see them finally on my portal.
>
> First, you aren't being stupid;  getting this far is a major achievement,
> given the current state of the package and docs.  As a quick check, try
> typing a word you *know* is present in one of the documents or news items
> in the "search" box at the top of the portal;  does your item appear in
> the search result?  If so, then congratulations!  Your content is "there"
> in the portal, you just need to "expose" it by editing the portal chrome,
> to make it more obvious.
>
> If the search doesn't return the expected result, then check the current
> "review status" of the document/news item (the "Status" under the icon and
> id).  Does it say, "Published"?  If it does, then check the content again
> for your search term.  If it says "pending" or "private", then you need to
> use the "Set status" action (perhaps as a different member, one with the
> "Reviewer" role) to make it "published".
>
> > What did I
> > wrong? And is there a bit more documentation on PTK? I hope to
> contribute
> > later with some stuff, I had worked with ColdFusion and have
> build several
> > smaller cms solutions.
>
> Most of the current documentation is available from the PTK home page:
>
>   http://www.zope.org/PTK
>
> In particular, the "PTK Users' Guide",
> http://www.zope.org/Products/PTK/PTK.html, while slightly older, is
> the best "conceptual" overview;  the "wiki",
> http://www.zope.org/Products/PTK/ZWiki is where the "work-in-progress"
> is documented.
>
> Thanks for persevering!  We look forward to your contributions!
>
> Tres.
> --
> =========================================================
> Tres Seaver                          tseaver@digicool.com
> Digital Creations   "Zope Dealers"   http://www.zope.org
>