Bug or syntax error on my part?

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 10716
interpreted = N
texte = If I use the following command.Pre ss Release Testthen goto pr.tmpl[founditems] [/founditems] [hideif [ipaddress]^207.135.254] [Search db=/webcatalog/webcounter.db&eqcounternamedata=mainpage] [founditems] [Replace db=/webcatalog/webcounter.db&counternamedata=[countername]]countertotal=[mat h][countertotal]+1[/math]&counterdate=[date %m/%d/%y]&countersort=[date %Y/%m/%d][/replace] [/founditems] [/search] [/hideif] <----This BLOCKS or Hides[include /macro/mainfooter.tmpl]<---ThisBut if I link to the page with no commands and use the context tags[Search blah blah ][founditems] [/founditems][/search] [hideif [ipaddress]^207.135.254.] [Search db=/webcatalog/webcounter.db&eqcounternamedata=mainpage] [founditems] [Replace db=/webcatalog/webcounter.db&counternamedata=[countername]]countertotal=[mat h][countertotal]+1[/math]&counterdate=[date %m/%d/%y]&countersort=[date %Y/%m/%d][/replace] [/founditems] [/search] [/hideif] <----This DOES NOT BLOCK or Hide[include /macro/mainfooter.tmpl]<---thisThere is only one record in the pr.db that matches building. This is a test page. So the eqprpagenamedata= will eventually include a [field] from another data base when the whole thing is finished. If you need more info give me a shout. PS: the ipaddress referenced is from our set, so we do not add hits to our own public page counters. We just track those from outside that series (visitors). The page counter thing has been up for over a week and works just fine until I tried to access a template this way. And using the plug-in if that matters.=============================================== 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: Bug or syntax error on my part? (Kenneth Grome 1997)
  2. Re: Bug or syntax error on my part? (grichter@panavise.com (Gary Richter) 1997)
  3. Re: Bug or syntax error on my part? (Kenneth Grome 1997)
  4. Re: Bug or syntax error on my part? (Kenneth Grome 1997)
  5. Bug or syntax error on my part? (grichter@panavise.com (Gary Richter) 1997)
If I use the following command.Pre ss Release Testthen goto pr.tmpl[founditems] [/founditems] [hideif [ipaddress]^207.135.254] [Search db=/webcatalog/webcounter.db&eqcounternamedata=mainpage] [founditems] [Replace db=/webcatalog/webcounter.db&counternamedata=[countername]]countertotal=[mat h][countertotal]+1[/math]&counterdate=[date %m/%d/%y]&countersort=[date %Y/%m/%d][/replace] [/founditems] [/search] [/hideif] <----This BLOCKS or Hides[include /macro/mainfooter.tmpl]<---ThisBut if I link to the page with no commands and use the context tags[Search blah blah ][founditems] [/founditems][/search] [hideif [ipaddress]^207.135.254.] [Search db=/webcatalog/webcounter.db&eqcounternamedata=mainpage] [founditems] [Replace db=/webcatalog/webcounter.db&counternamedata=[countername]]countertotal=[mat h][countertotal]+1[/math]&counterdate=[date %m/%d/%y]&countersort=[date %Y/%m/%d][/replace] [/founditems] [/search] [/hideif] <----This DOES NOT BLOCK or Hide[include /macro/mainfooter.tmpl]<---thisThere is only one record in the pr.db that matches building. This is a test page. So the eqprpagenamedata= will eventually include a [field] from another data base when the whole thing is finished. If you need more info give me a shout. PS: the ipaddress referenced is from our set, so we do not add hits to our own public page counters. We just track those from outside that series (visitors). The page counter thing has been up for over a week and works just fine until I tried to access a template this way. And using the plug-in if that matters.=============================================== 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:

Upgrading old WebCat Database Files (1997) [searchString] (1997) Question about replacing words (1998) Solution: [searh] or [shownext]problem (1998) [OT] RE: Drop down menu - Part 1 (2003) WebCat 4 crashes WebStar / Shownext Links (2001) Listserver problem (1997) WebCatalog 4.0 has been released! (2000) Emails sent twice (2000) Problem with webcat install (1998) Search (1997) Emailer (1997) Limit on nested [ShowIf]'s? (1997) Keeping text formatting (like hard returns) (2002) WebDNA deletes major DB data big time (2004) New Installation (1998) [WebDNA] [OT] Apple iPad (2010) Code intermittently reverts to previous state (2000) Webcat Manual and TeaRoom Examples Uses Different Examples. (1997) Web requests in que... (2007)