Re: Page Counters?

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 13713
interpreted = N
texte = >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.com This is my code for counters that I sort on hits, areas and date and hide from our Lan so the counters are not advance by my empolyees locally.[hideif [ipaddress]^207.135.254] [replace db=/webcatalog/webcounter.db&eqcounternamedata=mainpage]&countertotal=[math] [lookup db=/webcatalog/webcounter.db&lookInField=countername&value=mainpage&returnFi eld=countertotal]+1[/math]&counterdate=[date %m/%d/%y]&countersort=[date %Y/%m/%d][/replace] [/hideif]There is also another counter example by Grant at the extending webcatalog page at startnine. http://www.smithmicro.com/development/extendingwebcatalog.html=============================================== Gary Richter PanaVise Products, Inc. 7540 Colbert Dr. Reno, Nevada 89511 Ph: 702.850.2900 Fx: 702.850.2929 Email: grichter@panavise.com http://www.panavise.com =============================================== Associated Messages, from the most recent to the oldest:

    
  1. Re: Page Counters? (John Hill 1997)
  2. Re: Page Counters? (grichter@panavise.com (Gary Richter) 1997)
  3. Page Counters? (Larry Lowe 1997)
>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.com This is my code for counters that I sort on hits, areas and date and hide from our Lan so the counters are not advance by my empolyees locally.[hideif [ipaddress]^207.135.254] [replace db=/webcatalog/webcounter.db&eqcounternamedata=mainpage]&countertotal=[math] [lookup db=/webcatalog/webcounter.db&lookInField=countername&value=mainpage&returnFi eld=countertotal]+1[/math]&counterdate=[date %m/%d/%y]&countersort=[date %Y/%m/%d][/replace] [/hideif]There is also another counter example by Grant at the extending webcatalog page at startnine. http://www.smithmicro.com/development/extendingwebcatalog.html=============================================== Gary Richter PanaVise Products, Inc. 7540 Colbert Dr. Reno, Nevada 89511 Ph: 702.850.2900 Fx: 702.850.2929 Email: grichter@panavise.com http://www.panavise.com =============================================== grichter@panavise.com (Gary Richter)

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:

Running _every_ page through WebCat ? (1997) OT-Load balance (2004) Opinion: [input] should be called [output] ... (1997) Separate SSL Server (1997) Speaking of TCPSend (1999) Location of Browser Info.txt file (1997) 5.0 Pricing (2003) Version f1 status (1997) Hard Questions ? (1997) [WebDNA] (HELP) Installing Webcatalog / Apache 2.2 OSX 10.5 G5 (2009) remote install on RH9 (2004) I'm new be kind (1997) Triggers (2003) formvariables exact=F (2004) [OT] FTP client (2003) Secure Server (1997) Protecting Realms (1998) Need help with text area (1998) complete escaped ascii chart - importing and exporting files question (1998) Exclude by date - multiple (1997)