Re:no [search] with NT
This WebDNA talk-list message is from 1997
It keeps the original formatting.
numero = 11983
interpreted = N
texte = >>Are there any special NT changes I'm missing? Is there something I have to>>put in the [search] contexts to get them to be processed by WebCat2NT? I>>can type a URL command such as a search directly into the Location field on>>the browser, and WebCat2 processes the page properly except for the>>[search] contexts.>Nothing special under NT to get it to process the tags -- are other tags>getting processed? [DATE] that kind of stuff.Well, it all depends on how I do it.Before I made any changes to my Mac files, I sent them to the NT serverexactly the way they were written and working on my Mac - which uses theplugin and suffix mapping for both .html and .tmpl suffixes. The filesdidn't work directly, obviously, so ...Instead of changing any of the files themselves, I did a test first. Ityped a URL into the browser that included the full path name and searchargs as follows:http://www.website.com/scripts/webcatalog/$webcat.dll/folder/template.tmpl&search?db=xxx.db&neskudatarq=0The search worked, and the results were properly displayed on the resultspage ... but the links from that page to other pages did not work. Thelinks retrieved the pages but the WebDNA was ignored, so it showed up onthe pages. I assumed this was because I typed the location in manually.Therefore, I used BBEdit to change all the calls in the HREF's and ACTION'son all the files in the site - because that 'should have' guaranteed thatevery page would work properly. I put this into all the calls:/scripts/webcatalog/$webcat.dll/folder/Okay, so now when I load the home page, it gives me a link to a page thathas a search context in it - but the search context doesn't get processed,it just gets displayed on the page as raw WebDNA. This is the part I do notunderstand. Why doesn't the [search] get processed?If the link is the following, the search on the template.tmpl page does NOTwork:
But if I type the following URL in directly, the $search defined in thehyperlink works fine ...This leads me to believe that WebCAt2 will NOT process the WebDNA on thetemplate.tmpl page unless some kind of explicit command is performed by thehyperlink.>Usually I forget the> when I am moving a site...I didn't forget this, but I used instead of. Is that the problem?By the way, what ever happened to using WebCatalog folder hierarchy withoutusing , is that still possible? On NT as well as on theMac?>You are right the HREFs do need to change, but hopefully you have been>using all relative style HREFs so that the only one that has to change is>the first one in the site and everything else is relative to that...I don't believe this is true. If it is, then something else is wrong. AfterI changed ALL my HREF's and ACTION's to include the .dll calls, I thouglteverything would be fine, but it's not.Sincerely, Ken GromeWebDNA Solutions
Associated Messages, from the most recent to the oldest:
>>Are there any special NT changes I'm missing? Is there something I have to>>put in the
[search] contexts to get them to be processed by WebCat2NT? I>>can type a URL command such as a search directly into the Location field on>>the browser, and WebCat2 processes the page properly except for the>>
[search] contexts.>Nothing special under NT to get it to process the tags -- are other tags>getting processed?
[date] that kind of stuff.Well, it all depends on how I do it.Before I made any changes to my Mac files, I sent them to the NT serverexactly the way they were written and working on my Mac - which uses theplugin and suffix mapping for both .html and .tmpl suffixes. The filesdidn't work directly, obviously, so ...Instead of changing any of the files themselves, I did a test first. Ityped a URL into the browser that included the full path name and searchargs as follows:http://www.website.com/scripts/webcatalog/$webcat.dll/folder/template.tmpl&search?db=xxx.db&neskudatarq=0The search worked, and the results were properly displayed on the resultspage ... but the links from that page to other pages did not work. Thelinks retrieved the pages but the WebDNA was ignored, so it showed up onthe pages. I assumed this was because I typed the location in manually.Therefore, I used BBEdit to change all the calls in the HREF's and ACTION'son all the files in the site - because that 'should have' guaranteed thatevery page would work properly. I put this into all the calls:/scripts/webcatalog/$webcat.dll/folder/Okay, so now when I load the home page, it gives me a link to a page thathas a search context in it - but the search context doesn't get processed,it just gets displayed on the page as raw WebDNA. This is the part I do notunderstand. Why doesn't the
[search] get processed?If the link is the following, the search on the template.tmpl page does NOTwork:
But if I type the following URL in directly, the $search defined in thehyperlink works fine ...This leads me to believe that WebCAt2 will NOT process the WebDNA on thetemplate.tmpl page unless some kind of explicit command is performed by thehyperlink.>Usually I forget the> when I am moving a site...I didn't forget this, but I used instead of. Is that the problem?By the way, what ever happened to using WebCatalog folder hierarchy withoutusing , is that still possible? On NT as well as on theMac?>You are right the HREFs do need to change, but hopefully you have been>using all relative style HREFs so that the only one that has to change is>the first one in the site and everything else is relative to that...I don't believe this is true. If it is, then something else is wrong. AfterI changed ALL my HREF's and ACTION's to include the .dll calls, I thouglteverything would be fine, but it's not.Sincerely, Ken GromeWebDNA Solutions
Kenneth Grome
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:
Giving out error pages (1997)
Hard Questions ? (1997)
mySQL numfound (2006)
Warning: 50 [MATH] Variable Limit per page (1998)
Problem with SendMail (2007)
suffix mapping for NT? (1997)
Running _every_ page through WebCat ? (1997)
old mail...problem with listserv? (1998)
Slow Server (2005)
Problems getting parameters passed into email. (1997)
Backup Server/Load Balancing (2001)
converted seed value? (1998)
Multiple cart additions (1997)
[lookup] vs. [search] (1998)
Pass a form (2003)
WebMerchant 1.6 and SHTML (1997)
WCS Newbie question (1997)
WebCat2 several catalogs? (1997)
Search returns all, not 20 (1997)
Referrer (2000)