[ZWeb] ratings product
Kapil Thangavelu
k_vertigo@yahoo.com
Tue, 5 Mar 2002 14:57:18 -0800 (PST)
simple ratings product, might be useful for
new.zope.org
http://www.zope.org/Members/k_vertigo/Products/Ratings
i plan on working on a cmf-tool style version, the
version above depends on having a Ratings object
instance stored local to the content. the content is
expected to call the ratings object on display to get
a ratings widget. it utilizes BTree Length objects for
storage to try and avoid conflicts.additionally it
tries to manage securities by directly callning the
security manager and redirecting with voting info in
place to a login url if the user is not logged in.
this functionality should probably get removed. one
recent change i've made to a local copy is to have
cookie crumbler export all form vars, which are
displayed as hidden inputs on the login form. so when
the user auths and is returned to whence they came,
their original form vars, are intact, which in the
case of the Ratings object means their original vote
is accepted. this makes for a more seamless user
experience.
cheers
kapil
__________________________________________________
Do You Yahoo!?
Try FREE Yahoo! Mail - the world's greatest free email!
http://mail.yahoo.com/