Re: Showif, Search and text ?
This WebDNA talk-list message is from 2003
It keeps the original formatting.
numero = 49541
interpreted = N
texte = Thanks I will take a look at this.Jeff Logan>I've got a 4 yr old in my lap so I can't do but a bit more than cut/paste,>but here's the exact same code that I have on a site and have been using for>some time (I'm a bad boy for not doing all the [url]/[input]/__varname>stuff....)>>[search>db=categories.txt&necategorydatarq=[blank]&categorysort=1&categorysdir=as&ca>tegorysumm=T]>[text show=f]iscategory=[category][/text]>
>[founditems]>[iscategory]=[category]]SELECTED[/showif]>[category] >[/founditems]> >[/search]>>I think you're missing the
(not the main issue though) and I>have th [text] below the search where as you have it reveresed. Again,>unable to test it to see if that's the issue. If not, it's probably as>Donovan said, is [category] actually carrying over from the previous page if>you were to put it above the rest of your code?>>GK>>-----Original Message----->From: WebDNA Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On Behalf Of>Jeff Logan>Sent: Tuesday, April 15, 2003 4:30 PM>To: WebDNA Talk>Subject: Showif, Search and text ?>>I have this search which is suppose to default to what ever category>was choose a first. But for some reason is just chooses the first>category. Can someone take a look at the code below and see what I>am missing something?>>[text show=f]c2=[category][/text]>[search db=../data/category.db&neCATEGORYdatarq=[blank]&asCATEGORYsort=1]>[founditems][url][c2][/url]=[url][category][/url]]>selected[/showif]>[input][category][/input] [/founditems]>>Thanks,>Jeff Logan>>-->>------------------------------------------------------------->This message is sent to you because you are subscribed to> the mailing list .>To unsubscribe, E-mail to: >To switch to the DIGEST mode, E-mail to >>Web Archive of this list is at: http://webdna.smithmicro.com/-- Personal service is #1 priority to us.------------------------------------------------InsideOut Marketing and Web SolutionsWeb, Marketing and Print DesignToll Free: 1-800-500-8401Phone: 360.683.5774 Fax: 360.683.5857Email: mailto:jeff@insideout.com229 South Sequim Ave, Sequim, WA 98382http://www.insideout.com-------------------------------------------------------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
Thanks I will take a look at this.Jeff Logan>I've got a 4 yr old in my lap so I can't do but a bit more than cut/paste,>but here's the exact same code that I have on a site and have been using for>some time (I'm a bad boy for not doing all the [url] /[input] /__varname>stuff....)>>[search>db=categories.txt&necategorydatarq=[blank]&categorysort=1&categorysdir=as&ca>tegorysumm=T]>[text show=f]iscategory=[category][/text]>>[founditems] >[iscategory]=[category]]SELECTED[/showif]>[category] >[/founditems]> >[/search]>>I think you're missing the (not the main issue though) and I>have th [text] below the search where as you have it reveresed. Again,>unable to test it to see if that's the issue. If not, it's probably as>Donovan said, is [category] actually carrying over from the previous page if>you were to put it above the rest of your code?>>GK>>-----Original Message----->From: WebDNA Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On Behalf Of>Jeff Logan>Sent: Tuesday, April 15, 2003 4:30 PM>To: WebDNA Talk>Subject: Showif, Search and text ?>>I have this search which is suppose to default to what ever category>was choose a first. But for some reason is just chooses the first>category. Can someone take a look at the code below and see what I>am missing something?>>[text show=f]c2=[category][/text]>[search db=../data/category.db&neCATEGORYdatarq=[blank]&asCATEGORYsort=1]>[founditems] [url][category][/url][showif>[url] [c2][/url]=[url] [category][/url]]>selected[/showif]>[input] [category][/input] [/founditems]>>Thanks,>Jeff Logan>>-->>------------------------------------------------------------->This message is sent to you because you are subscribed to> the mailing list .>To unsubscribe, E-mail to: >To switch to the DIGEST mode, E-mail to >>Web Archive of this list is at: http://webdna.smithmicro.com/-- Personal service is #1 priority to us.------------------------------------------------InsideOut Marketing and Web SolutionsWeb, Marketing and Print DesignToll Free: 1-800-500-8401Phone: 360.683.5774 Fax: 360.683.5857Email: mailto:jeff@insideout.com229 South Sequim Ave, Sequim, WA 98382http://www.insideout.com-------------------------------------------------------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Jeff Logan
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:
WebCat2 beta 11 - new prefs ... (1997)
WebDNA-Talk Digest mode broken (1997)
Image Upload and Auto Resize? (2003)
Cookie Newbie (2002)
carriage returns in data (1997)
Suffix Mapping????? (1998)
PCS Frames (1997)
Problems with ^ could be solved with [REPLACE CHARACTERS] (1997)
Running subtotal? (1998)
WebCat2 - Getting to the browser's username/password data (1997)
Banner DNA (1997)
WebDNA on Windows questions (2007)
Quickie question on the email templates (1997)
Accentuated and non-English letters (2002)
[subtotal] and others (1997)
New WebCatalog site! (1997)
So what ya working on? (or have you completed?) (2004)
Protect vs Authenicate (1997)
b18 problem on NT 4.0 (1997)
GuestBook example (1997)