numero = 12348
interpreted = N
texte = >Now, I had my suffix mapping set so that WC processes both .html and .tmpl>suffixes. Shouldn't that give me identical functionality regardless of>whether my code is in my index.html file versus index.tmpl?Yes, it should. My site is set up like that and it works properly ...>And yes the>code is completely identical. Is there something specific to the date/math>combo that requires that that code reside in a .tmpl file???No. I just made up my own suffix - .dx - and my date stuff works fine withthat suffix. You can actually create any suffix you want, and as long asit's configured properly via WebSTAR Admin, you should be able to makeWebCat2 process your pages with any suffix you choose.>If not I must>have a problem with my .html suffix mapping.Just make sure to have the CGI or the plugin (either one or the other, notboth) set to process the suffixes you choose, .html, .tmpl, .dx, or anyother suffix you want to create that's NOT already assigned to some otherplugin or CGI.>Also I've happened upon an anomoly ('cause I would never cry BUG knowing>that Grant would just make me look foolish after showing me the errors of>my ways...).Hehe ... :) Are you referring to anyone I know?>Anyway here's my code which works for the most part:>> days. >>>And here's the problem: As I test the various pull-down options everthing>appears to work fine - I get a small number of records with start dates in>the next month, a greater number in the next 2 months etc. until I hit the>6 month/180 days option. For whatever reason it coughs and only gives me>only 2-3 records instead of all the records that had been found with the>earlier options as it should... Any ideas??Thanks for your excellent description of the 'anomaly', Marty.It just so happens that the 6 month/180 day option is dealing with a newyear - 1998 - whereas all the others options are dealing with dates in 1997... so maybe there's something going on when the year changes. I thinkwhat's happening is that the 180 day option is looking at records lessthan January 8, 1997 instead of less than January 8, 1998.Grant, what do you think about this possibility? (Don't worry, I'm notgonna call this one a bug, I learned my lesson the last time ... :)Sincerely, Ken GromeWebDNA Solutions
Associated Messages, from the most recent to the oldest:
>Now, I had my suffix mapping set so that WC processes both .html and .tmpl>suffixes. Shouldn't that give me identical functionality regardless of>whether my code is in my index.html file versus index.tmpl?Yes, it should. My site is set up like that and it works properly ...>And yes the>code is completely identical. Is there something specific to the date/math>combo that requires that that code reside in a .tmpl file???No. I just made up my own suffix - .dx - and my date stuff works fine withthat suffix. You can actually create any suffix you want, and as long asit's configured properly via WebSTAR Admin, you should be able to makeWebCat2 process your pages with any suffix you choose.>If not I must>have a problem with my .html suffix mapping.Just make sure to have the CGI or the plugin (either one or the other, notboth) set to process the suffixes you choose, .html, .tmpl, .dx, or anyother suffix you want to create that's NOT already assigned to some otherplugin or CGI.>Also I've happened upon an anomoly ('cause I would never cry BUG knowing>that Grant would just make me look foolish after showing me the errors of>my ways...).Hehe ... :) Are you referring to anyone I know?>Anyway here's my code which works for the most part:>> days. >>>And here's the problem: As I test the various pull-down options everthing>appears to work fine - I get a small number of records with start dates in>the next month, a greater number in the next 2 months etc. until I hit the>6 month/180 days option. For whatever reason it coughs and only gives me>only 2-3 records instead of all the records that had been found with the>earlier options as it should... Any ideas??Thanks for your excellent description of the 'anomaly', Marty.It just so happens that the 6 month/180 day option is dealing with a newyear - 1998 - whereas all the others options are dealing with dates in 1997... so maybe there's something going on when the year changes. I thinkwhat's happening is that the 180 day option is looking at records lessthan January 8, 1997 instead of less than January 8, 1998.Grant, what do you think about this possibility? (Don't worry, I'm notgonna call this one a bug, I learned my lesson the last time ... :)Sincerely, Ken GromeWebDNA Solutions
Kenneth Grome
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...