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:

problems with 2 tags (1997) Order not created error (never mind) (1997) The Guru and the Cyclops (1998) Search Engine questions ... (2002) b12 cannot limit records returned and more. (1997) Triggers (2003) verify online (1997) WebCat2 beta 11 - new prefs ... (1997) WebCat2: Found Items syntax, etc. (1997) One other big addition... (1997) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) CGI and SSI (2002) SiteGuard Use Question (1997) The future of WebCatalog is coming with 4.0... (2000) The IBC root beer has arrived! (1997) WebCat & Liststar (1997) Bug or syntax error on my part? (1997) Great product and great job ! (1997) Emailer Set Up (1997) [carts] and databases (1997)