Re: [Zope] km net news: missing rate and genpop?

2000-05-26 Thread Kevin Dangoor

Hi,

I'm afraid this particular aspect is not very well documented. genpop is
a PythonMethod that is in the Product itself (in the KMArticleStore). To add
the article rating to the page, all you need to do is put a form in your
article_footer (or header) like this:




Boring











Rolling on the Floor
 
 




The important things: the form action is "rate", and you're passing in a
variable with values from 0 to 10 called "newpoints".

Kevin

- Original Message -
From: "George Donnelly" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, May 26, 2000 3:22 AM
Subject: [Zope] km net news: missing rate and genpop?


> when i create a lm artticle store i only 5 files (plus the catalog of
> course)
>   article_footer
>   article_header
>   incoming.html
>   item_html
>   popular.html
>
> although there are a tons of files inside the km net news folder in the
> products folder i am not seeing anything else when i create the article
> store. is this right? am i missing something?
>
> zope 2.1.6 with python methods installed.
>
> tia
>
> Regards,
> GEORGE DONNELLY
> [EMAIL PROTECTED]
> http://cyklotron.com/
> The problems of the world cannot possibly be solved by skeptics or cynics
> whose horizons are limited by the obvious realities. We need men who can
> dream of things that never were. --John F. Kennedy
>
>
> ___
> 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 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] km net news: missing rate and genpop?

2000-05-26 Thread George Donnelly

when i create a lm artticle store i only 5 files (plus the catalog of
course)
  article_footer
  article_header
  incoming.html
  item_html
  popular.html

although there are a tons of files inside the km net news folder in the
products folder i am not seeing anything else when i create the article
store. is this right? am i missing something?

zope 2.1.6 with python methods installed.

tia

Regards,
GEORGE DONNELLY
[EMAIL PROTECTED]
http://cyklotron.com/
The problems of the world cannot possibly be solved by skeptics or cynics
whose horizons are limited by the obvious realities. We need men who can
dream of things that never were. --John F. Kennedy 


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