Re: Date Formats
This WebDNA talk-list message is from 1997
It keeps the original formatting.
numero = 11197
interpreted = N
texte = >Can I, and if so, How Can I have a Webstar counter along with a>WebCatalog date...all on the same page, suchs as Webstar's SSI plugin>on an .tmpl file...>>Kim>[replacedb=/webcatalog/webcounter.db&eqcounternamedata=indashdb]&countertotal=[math][lookupdb=/webcatalog/webcounter.db&lookInField=countername&value=indashdb&returnField=countertotal]+1[/math]&counterdate=[date %m/%d/%y]&countersort=[date%Y/%m/%d][/replace]This is my counter scheme where countername is the name that I assign tothe counter. Grant has a similar one in the customer pages section wherehe uses the URL instead. countertotal is the hits per page. counterdate isthe last hit date in mm/dd/yy format and counter sort date is the reverseYYYY/mm/dd for some special sorting and reporting we do. Now this data ishidden from the client as I don't want my competitors to know which pagesget the most action and which ones don't. We have the above snip-it onbottom of everypage we count and we have many common pages like online specsheets for a given product range where there are about 140 different partnumbers. So we have 140 pages with the same counter name. But early nextweek those 140 pages hit the trash as they will all be served out of awebcat db into one commom template. Now Grants use of the url over mygiven names starts to make more and more sense to us. One url will replace140 old hard coded html docs that changed weekly :) Major League Big TimeCool and makes my life so much easier (Gawd I love this stuff)Do you want to show the current date and display the page counter to the client?===============================================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:
>Can I, and if so, How Can I have a Webstar counter along with a>WebCatalog date...all on the same page, suchs as Webstar's SSI plugin>on an .tmpl file...>>Kim>[replacedb=/webcatalog/webcounter.db&eqcounternamedata=indashdb]&countertotal=
[math][lookupdb=/webcatalog/webcounter.db&lookInField=countername&value=indashdb&returnField=countertotal]+1[/math]&counterdate=[date %m/%d/%y]&countersort=[date%Y/%m/%d][/replace]This is my counter scheme where countername is the name that I assign tothe counter. Grant has a similar one in the customer pages section wherehe uses the URL instead. countertotal is the hits per page. counterdate isthe last hit date in mm/dd/yy format and counter sort date is the reverseYYYY/mm/dd for some special sorting and reporting we do. Now this data ishidden from the client as I don't want my competitors to know which pagesget the most action and which ones don't. We have the above snip-it onbottom of everypage we count and we have many common pages like online specsheets for a given product range where there are about 140 different partnumbers. So we have 140 pages with the same counter name. But early nextweek those 140 pages hit the trash as they will all be served out of awebcat db into one commom template. Now Grants use of the url over mygiven names starts to make more and more sense to us. One url will replace140 old hard coded html docs that changed weekly :) Major League Big TimeCool and makes my life so much easier (Gawd I love this stuff)Do you want to show the current date and display the page counter to the client?===============================================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:
WC2b15 File Corruption (1997)
View order not right (1997)
duplicate items in cart (1998)
Smart caching problems with 2.1b3? (1997)
service stop and restart (1997)
emailer error 103 part ii (1997)
[math] variable question (1997)
WebCatalog seems to choke on large (2meg) html files. (1998)
A few questions. . . (1997)
emailer error -108 (1997)
Separate SSL Server (1997)
[OT] - CSS Based Layout and Design (2004)
proper username/password *w/out* the authenticate dialog. (2000)
A Show of Hands - Count WebCat Developers (2002)
Help formatting search results w/ table (1997)
CustomerType - WebDNA Variable (2004)
[Fwd: Rotating Banners ... (was LinkExchange)] (1997)
Re1000001: Setting up shop (1997)
If Empty ? (1997)
[WebDNA] An actual attempt to get WebDNA and MAMP Pro to work - (2018)