Re: [Zope] REPOST: README.txt Tab

2000-08-05 Thread Erik Enge

On Fri, 4 Aug 2000 [EMAIL PROTECTED] wrote:

 I'll re-ask the question:
 
  How do I get the README tab to appear in a product?

In the Squishdot Product I discovered this:

Readme = Document('', __name__='')
Readme.__roles__ = None

This one seems to add a README tab.  If you have a README.txt file in your
Products directory it displays it.


___
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] REPOST: README.txt Tab

2000-08-04 Thread Robert_J_Roberts

I'll re-ask the question:

 How do I get the README tab to appear in a product?
 
 I created a product and it is working great.  However, I would like to add
 the 'README' tab to the product (and if possible to each instance of the
 product).  I looked at other products that have the README tab and looked
 at the Product.py source code.  It appears that I should just be able to
 put a README.txt file in my product subdirectory and the tab should
 automagically appear.  It doesn't.
 
 What do I need to do?
 

___
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] REPOST: README.txt Tab

2000-08-04 Thread Jeff K. Hoffman

On Fri, 4 Aug 2000 [EMAIL PROTECTED] wrote:

 I'll re-ask the question:
 
  How do I get the README tab to appear in a product?
  
  I created a product and it is working great.  However, I would like to add
  the 'README' tab to the product (and if possible to each instance of the
  product).  I looked at other products that have the README tab and looked
  at the Product.py source code.  It appears that I should just be able to
  put a README.txt file in my product subdirectory and the tab should
  automagically appear.  It doesn't.
  
  What do I need to do?

If this is a Python product (NOT a ZClass "open box" product), delete the
product from your Product list and re-start Zope. Voila.

--Jeff

---
Jeff K. Hoffman   704.849.0731 x108
Chief Technology Officer  mailto:[EMAIL PROTECTED]
Going Virtual, L.L.C. http://www.goingv.com/


___
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] REPOST: README.txt Tab

2000-08-04 Thread Pavlos Christoforou

On Fri, 4 Aug 2000 [EMAIL PROTECTED] wrote:

 I'll re-ask the question:
 
  How do I get the README tab to appear in a product?
  
  What do I need to do?

Its been a while but I think what you say is essentially correct. If there
is a README.txt it would be displayed assuming your product was
initialized correctly. Also make sure you delete the product from the
product management screen and restart Zope.

Pavlos


___
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 )