[Zope] Updating Properties

Evan Gibson egibson@connect.com.au
Thu, 30 Sep 1999 16:15:04 +1000


I have a very simple use for a property of a DTML document...

A counter.

We make the counter property and set it and then put:

<dtml-var "manage_updateProperties({'counter': counter+1})">

and this works great with one minor problem...

You need manage privileges to look at it.

How do you update the properties without making the people have
privileges?


I tried everything else I could think of like:
<dtml-var "_['counter'] = counter+1">
but none of them actually work.


Thanks.
Evan.

-- 
  Evan ~ThunderFoot~ Gibson    ~ nihil mutatem, omni deletum ~
      May the machines watch over you with loving grace.