Re: WebCat2b13MacPlugIn - [showif][search][/showif]

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 10574
interpreted = N
texte = >>From what I've been able to discern, there doesn't seem to be a way to use >>a results template with searches initiated from a hyperlink or search form >>... while using the same results template with searches initiated in the >>[search] context of the results template itself. >> >>Is this correct, or am I being too confusing here? > >That's too confusing. But I think I know what you're saying, and it may >be possible but really I think that where you're headed indicates a >confusing design that may not be the cleanest way to set it up anyway. > >Perhaps you could use an [include] that holds the 'guts' of the search >results page, such as the [foundItems] part, and then have 2 distinct >templates: one for the URL-style search, and another for the >embedded-style search, both of which use the [include] to hold the 'guts' >that are in common between the two. How's that for obfuscating the answer?It's totally clear, and I'm not being sarcastic here, either. I just didn't want to have the same 'guts' in several different template files, because then when I need to change it, I would have to make the same changes to *all* those separate files.Your suggestion is the most practical way for me to proceed, because all I need is one 'guts' file, and then I can [include] it in all the different results templates. Thanks, Grant.Sincerely, Ken ------------------------------------ To leave this talk list send an email to macjordomo@smithmicro.com with BODY unsubscribe WebDNA-Talk ------------------------------------ Associated Messages, from the most recent to the oldest:

    
  1. Re: WebCat2b13MacPlugIn - [showif][search][/showif] (Kenneth Grome 1997)
  2. Re: WebCat2b13MacPlugIn - [showif][search][/showif] (Grant Hulbert 1997)
  3. Re: WebCat2b13MacPlugIn - [showif][search][/showif] (Grant Hulbert 1997)
  4. Re: WebCat2b13MacPlugIn - [showif][search][/showif] (Robert Minor 1997)
  5. Re: WebCat2b13MacPlugIn - [showif][search][/showif] (Robert Minor 1997)
  6. WebCat2b13MacPlugIn - [showif][search][/showif] (Kenneth Grome 1997)
  7. WebCat2b13MacPlugIn - [showif][search][/showif] (Kenneth Grome 1997)
>>From what I've been able to discern, there doesn't seem to be a way to use >>a results template with searches initiated from a hyperlink or search form >>... while using the same results template with searches initiated in the >>[search] context of the results template itself. >> >>Is this correct, or am I being too confusing here? > >That's too confusing. But I think I know what you're saying, and it may >be possible but really I think that where you're headed indicates a >confusing design that may not be the cleanest way to set it up anyway. > >Perhaps you could use an [include] that holds the 'guts' of the search >results page, such as the [founditems] part, and then have 2 distinct >templates: one for the URL-style search, and another for the >embedded-style search, both of which use the [include] to hold the 'guts' >that are in common between the two. How's that for obfuscating the answer?It's totally clear, and I'm not being sarcastic here, either. I just didn't want to have the same 'guts' in several different template files, because then when I need to change it, I would have to make the same changes to *all* those separate files.Your suggestion is the most practical way for me to proceed, because all I need is one 'guts' file, and then I can [include] it in all the different results templates. Thanks, Grant.Sincerely, Ken ------------------------------------ To leave this Talk List send an email to macjordomo@smithmicro.com with BODY unsubscribe WebDNA-Talk ------------------------------------ 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:

File Uploads... (1997) encrypt/decrypt - are docs correct?? (2002) Database Import/Export (1998) Clickable maps and WebCatalog? (1996) Euro WebDNA Conference (2004) [OT] Kerio Mailserver (2003) Include a big block of text (1997) [replace] has protection feature like [delete]? (2000) Make sure I understand this??? (1997) Pull Down Search (2000) WebCat2.0 [format thousands .0f] no go (1997) simple answer? [hideif] (1997) [format] problems (1998) [isfile] ? (1997) Max Record length restated as maybe bug (1997) Db crash in win98 (2000) Authorize.net, SIM, tcpconnect and applescript (2003) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) Help name our technology! (1997) Cookie woes with Mac IE4 (1998)