Re: [WebDNA] [hideif]'s not working in [sendmail]

This WebDNA talk-list message is from

2008


It keeps the original formatting.
numero = 101207
interpreted = N
texte = Hi Donovan, You're right! Just got through a battery of testing and found the problem seems to be with the [url] tags in the initial [hideif]s. this code doesn't hide things: [hideif [url][Comments1][/url]=] ______________________________________________ Library News ______________________________________________ [hideif ||[url][raw][Comments1][/raw][/url]|^|[url][Comments1][/url]|] [Comments1][/hideif] [hideif ||[url][raw][Comments2][/raw][/url]|^|[url][Comments2][/url]|] [Comments2][/hideif] [hideif ||[url][raw][Comments3][/raw][/url]|^|[url][Comments3][/url]|] [Comments3][/hideif] [/hideif] this code does: [hideif [Comments1]=[raw][Comments1][/raw]][hideif [Comments1]=] ______________________________________________ Library News ______________________________________________ [Comments1] [hideif ||[url][raw][Comments2][/raw][/url]|^|[url][Comments2][/url]|] [Comments2][/hideif] [hideif ||[url][raw][Comments3][/raw][/url]|^|[url][Comments3][/url]|] [Comments3][/hideif] [/hideif][/hideif] On Oct 20, 2008, at 3:19 PM, Donovan Brooke wrote: > Suzanne Swift wrote: > >> Hi Donovan, >> I tried out what you suggested and verified that no data was >> coming through the Comments fields. Then tried eliminating the >> pipes (||'s) which turned out to be the problem. (Thanks Bob >> bringing them to my attention!) >> Regards, >> Suzanne > > Well, glad you got it fixed. :-) However, unless there is some wierd > 3.x issue, > the double pipe should be perfectly valid.. (however redundant) ;-) > > in otherwords (for Comments1 for example), if > the value of "[Comments1]" equals "[Comments1]".. or if it > equals "". The code below *should* keep the raw [Comments1] hidden. > > By taking out the double || you are causing that code to *always* > hide the comments. > By taking out one of the double ||'s, it is only going to hide that > code when [Comments1] = (literally) "[Comments1]". > > So I'm not convinced that your code is fixed. ;-) > > I'm not trying to argue with your "working" system Suzanne ;-), I am > just trying to keep the information clear on this public forum. > > The code containing the double || is valid, so in my mind, there is > something > else going on... > > However, as I stated, it's redundant since the outer container is > hiding the > entire block of code if the first comments1 is blank.. so, in the > end, the > double pipes are not needed anyway. (but they should not break > anything) > > Have I confused you yet? ;-) > > Donovan > > > > > [hideif [url][Comments1][/url]=] > ______________________________________________ > News > ______________________________________________ > > [hideif ||[url][raw][Comments1][/raw][/url]|^|[url][Comments1][/ > url]|] [Comments1][/hideif] > [hideif ||[url][raw][Comments2][/raw][/url]|^|[url][Comments2][/ > url]|] [Comments2][/hideif] > [hideif ||[url][raw][Comments3][/raw][/url]|^|[url][Comments3][/ > url]|] [Comments3][/hideif] > [/hideif] > > > Donovan > > > > -- > Donovan D. Brooke PH/FAX: 1 (608) 291-2024 > ---------------------------------------------- > VP > WebDNA Software Corporation > 16192 Coastal Highway > Lewes, DE 19958 > --------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us > old archives: http://dev.webdna.us/TalkListArchive/ Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] [hideif]'s not working in [sendmail] (Donovan Brooke 2008)
  2. Re: [WebDNA] [hideif]'s not working in [sendmail] (Donovan Brooke 2008)
  3. Re: [WebDNA] [hideif]'s not working in [sendmail] (Suzanne Swift 2008)
  4. Re: [WebDNA] [hideif]'s not working in [sendmail] (Donovan Brooke 2008)
  5. Re: [WebDNA] [hideif]'s not working in [sendmail] (Suzanne Swift 2008)
  6. Re: [WebDNA] [hideif]'s not working in [sendmail] (Donovan Brooke 2008)
  7. Re: [WebDNA] [hideif]'s not working in [sendmail] (Suzanne Swift 2008)
  8. Re: [WebDNA] [hideif]'s not working in [sendmail] (Donovan Brooke 2008)
  9. Re: [WebDNA] [hideif]'s not working in [sendmail] (Bob Minor 2008)
  10. Re: [WebDNA] [hideif]'s not working in [sendmail] (Terry Wilson 2008)
  11. [WebDNA] [hideif]'s not working in [sendmail] (Suzanne Swift 2008)
Hi Donovan, You're right! Just got through a battery of testing and found the problem seems to be with the [url] tags in the initial [hideif]s. this code doesn't hide things: [hideif [url][Comments1][/url]=] ______________________________________________ Library News ______________________________________________ [hideif ||[url][raw][Comments1][/raw][/url]|^|[url][Comments1][/url]|] [Comments1][/hideif] [hideif ||[url][raw][Comments2][/raw][/url]|^|[url][Comments2][/url]|] [Comments2][/hideif] [hideif ||[url][raw][Comments3][/raw][/url]|^|[url][Comments3][/url]|] [Comments3][/hideif] [/hideif] this code does: [hideif [Comments1]=[raw][Comments1][/raw]][hideif [Comments1]=] ______________________________________________ Library News ______________________________________________ [Comments1] [hideif ||[url][raw][Comments2][/raw][/url]|^|[url][Comments2][/url]|] [Comments2][/hideif] [hideif ||[url][raw][Comments3][/raw][/url]|^|[url][Comments3][/url]|] [Comments3][/hideif] [/hideif][/hideif] On Oct 20, 2008, at 3:19 PM, Donovan Brooke wrote: > Suzanne Swift wrote: > >> Hi Donovan, >> I tried out what you suggested and verified that no data was >> coming through the Comments fields. Then tried eliminating the >> pipes (||'s) which turned out to be the problem. (Thanks Bob >> bringing them to my attention!) >> Regards, >> Suzanne > > Well, glad you got it fixed. :-) However, unless there is some wierd > 3.x issue, > the double pipe should be perfectly valid.. (however redundant) ;-) > > in otherwords (for Comments1 for example), if > the value of "[Comments1]" equals "[Comments1]".. or if it > equals "". The code below *should* keep the raw [Comments1] hidden. > > By taking out the double || you are causing that code to *always* > hide the comments. > By taking out one of the double ||'s, it is only going to hide that > code when [Comments1] = (literally) "[Comments1]". > > So I'm not convinced that your code is fixed. ;-) > > I'm not trying to argue with your "working" system Suzanne ;-), I am > just trying to keep the information clear on this public forum. > > The code containing the double || is valid, so in my mind, there is > something > else going on... > > However, as I stated, it's redundant since the outer container is > hiding the > entire block of code if the first comments1 is blank.. so, in the > end, the > double pipes are not needed anyway. (but they should not break > anything) > > Have I confused you yet? ;-) > > Donovan > > > > > [hideif [url][Comments1][/url]=] > ______________________________________________ > News > ______________________________________________ > > [hideif ||[url][raw][Comments1][/raw][/url]|^|[url][Comments1][/ > url]|] [Comments1][/hideif] > [hideif ||[url][raw][Comments2][/raw][/url]|^|[url][Comments2][/ > url]|] [Comments2][/hideif] > [hideif ||[url][raw][Comments3][/raw][/url]|^|[url][Comments3][/ > url]|] [Comments3][/hideif] > [/hideif] > > > Donovan > > > > -- > Donovan D. Brooke PH/FAX: 1 (608) 291-2024 > ---------------------------------------------- > VP > WebDNA Software Corporation > 16192 Coastal Highway > Lewes, DE 19958 > --------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us > old archives: http://dev.webdna.us/TalkListArchive/ Suzanne Swift

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:

Bug Report, maybe (1997) Bug Report, maybe (1997) Running WebCat from a CD-ROM (1997) More than one db with the same namn (was: WC2f3) (1997) WebCat2: Master Counter snippet (1997) Interesting speed comparison .. (2003) Not really WebCat - need HTML Grider (1997) [WriteFile] problems (1997) For those of you not on the WebCatalog Beta... (1997) [WriteFile] problems (1997) could someone please try this - it's very quick and easy (2000) long process indicator (2002) ShowNext truncating passed variable?? (1997) Frames and WebCat (1997) Shared conversion under WebTen (1998) hhtps to http and back? (2000) Which GUI HTML editors work with WC ? (1997) A little help on e-mail (HELP!!! :-) ) (1998) So what ya working on? (or have you completed?) (2004) RE: Sorting error (1997)