Re: For you expert WebDNA coders (was Re: Interesting speed

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 54401
interpreted = N
texte = on 11/21/2003 4:30 pm, Lucas Rockwell at lucasr@tsw.berkeley.edu so noted... > [formvariables name=[url]page[/url]] > [if "[url][value][/url]"!""] > [then] > [FileInfo file=includes/[page].inc] > [If "[Exists]"="T"] > [Then] > [include file=includes/[page].inc] > [/Then] > [Else] > [include file=includes/info_home.inc] > [/Else] > [/If] > [/FileInfo] > [/then] > [/if] > [/formvariables] > > [formvariables name=[url]page[/url]] > [if "[url][value][/url]"=""] > [then] > [include file=includes/info_home.inc] > [/then] > [/if] > [/formvariables] > > [Showif ![page]] > [hideif [page]![Raw][page][/Raw]] > [include file=includes/info_home.inc] > [/hideif] > [/Showif] If I'm reading you correctly, you're just looking for the value of a single passed variable (page) so the [formvariables] is some serious overkill. [if "[url][page][/url]"!"%5Bpage%5D"][then] [FileInfo file=includes/[page].inc] [If "[Exists]"="T"][then] [include file=includes/[page].inc] [/then][else] [include file=includes/info_home.inc] [/else][/if] [/fileInfo] [/then][else] [include file=includes/info_home.inc] [/else][/if] Rob Marquardt Designer/Resident Wirehead Toast Design 800 Washington Avenue North Minneapolis MN 55401 612.330.9863 v 612.321.9424 f www.toastdesign.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:

    
on 11/21/2003 4:30 pm, Lucas Rockwell at lucasr@tsw.berkeley.edu so noted... > [formvariables name=[url]page[/url]] > [if "[url][value][/url]"!""] > [then] > [FileInfo file=includes/[page].inc] > [If "[Exists]"="T"] > [Then] > [include file=includes/[page].inc] > [/Then] > [Else] > [include file=includes/info_home.inc] > [/Else] > [/If] > [/FileInfo] > [/then] > [/if] > [/formvariables] > > [formvariables name=[url]page[/url]] > [if "[url][value][/url]"=""] > [then] > [include file=includes/info_home.inc] > [/then] > [/if] > [/formvariables] > > [Showif ![page]] > [hideif [page]![raw][page][/Raw]] > [include file=includes/info_home.inc] > [/hideif] > [/Showif] If I'm reading you correctly, you're just looking for the value of a single passed variable (page) so the [formvariables] is some serious overkill. [if "[url][page][/url]"!"%5Bpage%5D"][then] [FileInfo file=includes/[page].inc] [If "[Exists]"="T"][then] [include file=includes/[page].inc] [/then][else] [include file=includes/info_home.inc] [/else][/if] [/fileInfo] [/then][else] [include file=includes/info_home.inc] [/else][/if] Rob Marquardt Designer/Resident Wirehead Toast Design 800 Washington Avenue North Minneapolis MN 55401 612.330.9863 v 612.321.9424 f www.toastdesign.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/ Rob Marquardt

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:

WebCat2b12 CGI Mac - [shownext] problem (1997) WebCat2b13MacPlugIn - [include] doesn't allow creator (1997) (1997) Multiple Newcarts (1996) Just Testing (1997) Narrowing NT Crashing error (2000) oops private message leaked into talk list (1997) Multiple Stores and WebCatalog Prefs (1997) Subject: Authenticating users without dialog box (1997) Re:Emailer and encryption (1997) Re:no [search] with NT (1997) Shipping charge question (2003) Separate SSL Server (1997) Problem (1997) Summing fields (1997) WebCat b13 CGI -shownext- (1997) Unexceling (was I need a smart quote...) (1999) [format xs] freeze (1997) Harvesting invalid email addresses from bounced emails??? (2000) apostrophe in search item (1997)