ShowNext - This is Killing me!
This WebDNA talk-list message is from 1998
It keeps the original formatting.
numero = 18408
interpreted = N
texte = OK, gang, here's the problem.....heres the code that searches a databasefor certain criteria and returns the results as hyperlinks that in turngenerate a different search when clicked......[search db=MajorCategories.db&neMajordata=0&descriptionsort=1][foundItems]
[Description][search db=Subcategories.db&bwMajordatarq=[Major]][foundItems]
[Description][/foundItems][/search][/foundItems][/search]Here is the code on the results page (index3.tpl) that displays theresults of the search....this particular search returns13 items andshows the first 6....however, the problem arises when trying to do aShowNext....nothing shows up between the [ShowNext] and [/ShowNext]tags. All of the variables are passed to this page, BTW, and I havespent way too many hours trying to figure this out....I am throwingmyself upon the mercy of this talk list...cany anyone figure out whythis won't work????
Found [numFound]product(s) matching your search.[founditems] | [showif [index]\2]
[showif [index]!6][/showif][/showif][/foundItems]
[shownext]Show Items [start]-[end]
[/shownext]
-- John Kennedy*****************************Pro Sound and Stage Lighting11711 Monarch StGarden Grove, CA 92841714.891.3990. Ext. 111*****************************
Associated Messages, from the most recent to the oldest:
OK, gang, here's the problem.....heres the code that searches a databasefor certain criteria and returns the results as hyperlinks that in turngenerate a different search when clicked......[search db=MajorCategories.db&neMajordata=0&descriptionsort=1]
[founditems][Description][search db=Subcategories.db&bwMajordatarq=[Major]]
[founditems][username]&password=
[password]&db=catalog.txt&eqMerchandiserdata=D&Category=[bothcategories]&max=12&pricesort=1&pricesdir=as&pricetype=num>[Description]
[/foundItems][/search][/foundItems][/search]Here is the code on the results page (index3.tpl) that displays theresults of the search....this particular search returns13 items andshows the first 6....however, the problem arises when trying to do aShowNext....nothing shows up between the
[shownext] and [/ShowNext]tags. All of the variables are passed to this page, BTW, and I havespent way too many hours trying to figure this out....I am throwingmyself upon the mercy of this
Talk List...cany anyone figure out whythis won't work????
Found [numFound]product(s) matching your search.[founditems][url][lookupdb=catalog.txt&value=[sku]&lookinfield=sku&returnfield=sku¬found=NotFound][/URL].gif> | [lookupdb=VendorSpecs.db&value=[sku]&lookinfield=sku&returnfield=title¬found=NotFound]
| [SKU] [PRICE] | | Click here for more info... |
| [showif [index]\2]
[showif [index]!6][/showif][/showif][/foundItems]
[shownext]Show Items [start]-[end]
[/shownext]
-- John Kennedy*****************************Pro Sound and Stage Lighting11711 Monarch StGarden Grove, CA 92841714.891.3990. Ext. 111*****************************
John Kennedy
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:
Still having install problems (2000)
Limiting user access to .tmpl files (1997)
Running a store on BOTH http and https (1998)
Max Record length restated as maybe bug (1997)
Not really WebCat (1997)
Showing once on a founditems (1997)
Nested tags count question (1997)
Need relative path explanation (1997)
send mail problem? (1997)
It just Does't add up!!! (1997)
color (1999)
Help! WebCat2 bug (1997)
[WebDNA] WebDNA Parallels image (2008)
upgrading (1997)
Stat analyzer (1997)
rn doesn't work on date fields (1998)
RE: Include (1998)
RE: [WebDNA] Installing WebDNA on Windows 7 64 Bit, Home Premium (2010)
Stopping bad HTML propagation ? (1997)
security (1997)