[Zope] Counter for Visitors
Stephan Richter
SRichter@ixl.com
Tue, 10 Aug 1999 08:17:57 -0500
I want to put a little counter on my page.
Currently I have the following. Please tell me how good that is:
I declared a property called visitors (integer);
I wrote a external method that increases the value of the property:
(Is the following code right?)
def add_visitor(self):
self.visitors = self.visitors + 1
And a display function:
def show_visitors(self):
return self.visitors
Is there a way to do it with DTML only. I do not neccessarily write external
methods, but that is the only solution I see.
stephan
--
Stephan Richter
iXL - Software Designer and Engineer