Re: Page Counters?
This WebDNA talk-list message is from 1997
It keeps the original formatting.
numero = 13715
interpreted = N
texte = Larry:Here is a very simple solution that doesn't use databases:This page has been viewed [math]num=[include counter]+1[/math] [writefilecounter][math]num[/math][/writefile] times.John.>I know this sounds trivial, but I find nothing in the manual and no>examples to steal from.>>My nifty new store is open for business, (YAY!, and Thanks for all the>help, folks) at:>>http://www.wingsofamerica.com/Store/MissA/entry.tmpl>>Now my client wants page counters. I've got code in my Frontier>template to generate WebSTAR SSI page counter syntax. But the SSI does>note get executed, so I took it out.>>I see references to counting banner click throughs, so there must be>something like a counter that can be invoked.>>Larry Lowe>Webmaster>www.missa.comJohn A. Hill Pacific Coast Software11770 Bernardo Plaza Ct. #453 * Web tools for Macintosh and WinNT *San Diego, CA 92128 http://www.smithmicro.com
Associated Messages, from the most recent to the oldest:
Larry:Here is a very simple solution that doesn't use databases:This page has been viewed
[math]num=[include counter]+1[/math] [writefilecounter]
[math]num[/math][/writefile] times.John.>I know this sounds trivial, but I find nothing in the manual and no>examples to steal from.>>My nifty new store is open for business, (YAY!, and Thanks for all the>help, folks) at:>>http://www.wingsofamerica.com/Store/MissA/entry.tmpl>>Now my client wants page counters. I've got code in my Frontier>template to generate WebSTAR SSI page counter syntax. But the SSI does>note get executed, so I took it out.>>I see references to counting banner click throughs, so there must be>something like a counter that can be invoked.>>Larry Lowe>Webmaster>www.missa.comJohn A. Hill Pacific Coast Software11770 Bernardo Plaza Ct. #453 * Web tools for Macintosh and WinNT *San Diego, CA 92128 http://www.smithmicro.com
John Hill
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
Customizing WebDelivery.html (1998)
back button loses cart (update for ken) (2000)
WebCat2b13MacPlugIn - [include] doesn't allow creator (1997)
WebCatalog 2.0 b 15 mac (1997)
REPLACE and/or APPEND (2002)
Errata: WCS Newbie question (1997)
Need relative path explanation (1997)
[WebDNA] Still having problems (2008)
WebMerch/Emailer Error (1998)
[isfile] ? (1997)
Document section in storebuilder site (2004)
Checkboxes (1998)
Sorting by type=date (1999)
Crash Log Question (2006)
WebCat2: multiple currency support (1997)
frames & carts (1997)
[protect] on NT? (1997)
Email within tmpl ? (1997)
WCS Newbie question (1997)
Server problem? (1998)