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:

Opinion: [input] should be called [output] ... (1997) New commands in Final candidate (1997) [WebDNA] Search Question (2009) Explorer 3.0 (1997) HTML file size limit (1998) WebCatalog for guestbook ? (1997) DocNote#1 - GREP info missing ... (2000) no global [username] or [password] displayed ... (1997) [authenticate] (1999) AppleScript question (1997) WebCatalog 2.0 b 15 mac (1997) OT: zipcodes (2002) Credit Card not accepted (1998) Date search - yes or no (1997) [WriteFile] problems (1997) FAX orders (1996) Wanted: Broader string manipulation functions (1997) F3 crashing server (1997) Shownext problems (1999) Newbie from and old bee (1997)