numero = 59355
interpreted = N
texte = Hello,I'm receiving no errors but...On the default.tpl in the root directory, the code below hasmis-matching [if,then,else] params yet its not throwing errors.Exact snippet of "middletemplate" code below:-------------------------------------------------------[text]middleWidth=*[/text]
[text]REL_ROOT_DIR=[/text][if "[_MiddleTemplate]"="../subnav.tpl"][then][!]the pages.db pageid = sec_id in sitemap.db from the intranet [/!][search db=[REL_ROOT_DIR]admin/sitemap.db&eqSM1_IDdatarq=[pageID]][founditems][text multi=t][ListFields db=[REL_ROOT_DIR]admin/sitemap.db][fieldname]=[Interpret][[fieldname]][/Interpret]&[/ListFields][/text][/founditems][/search][/then][/if][if ("[_UseIframe]"="Y")|("[_MiddleTemplate]"="ExternalLink")][then][text multi=t][search db=[REL_ROOT_DIR]admin/prefs.db&nePREFdata=0][founditems][pref]=[value]&[/founditems][/search][/text][!]pass all the parameters to the subnav.tpl for the intranet pages[/!][!]
--------------------------------------------------------------------------------------------------------------Donovan-- =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o DONOVAN D. BROOKE Eucalyptus Design <-Web Development (specializing in eCommerce), -> <-Graphic Design, and Pre-Press Consultation -> ADDRESS:> Donovan Brooke DBA Eucalyptus Design N2862 Summerville Park Rd. Lodi, WI 53555 PH:> 1.608.592.3567 Web:> http://www.euca.us =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o-------------------------------------------------------------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:
Sitebuilder ifs not matching [SMSI?] ( Donovan Brooke 2004)
Hello,I'm receiving no errors but...On the default.tpl in the root directory, the code below hasmis-matching [if,then,else] params yet its not throwing errors.Exact snippet of "middletemplate" code below:-------------------------------------------------------[text]middleWidth=*[/text]
[text]REL_ROOT_DIR=[/text][if "[_MiddleTemplate]"="../subnav.tpl"][then][!]the pages.db pageid = sec_id in sitemap.db from the intranet [/!][search db=[REL_ROOT_DIR]admin/sitemap.db&eqSM1_IDdatarq=[pageID]][founditems][text multi=t][ListFields db=[REL_ROOT_DIR]admin/sitemap.db][fieldname]=[interpret][[fieldname]][/Interpret]&[/ListFields][/text][/founditems][/search][/then][/if][if ("[_UseIframe]"="Y")|("[_MiddleTemplate]"="ExternalLink")][then][text multi=t][search db=[REL_ROOT_DIR]admin/prefs.db&nePREFdata=0][founditems][pref]=[value]&[/founditems][/search][/text][!]pass all the parameters to the subnav.tpl for the intranet pages[/!][!][raw][sec_status][/Raw]]main[/Showif][Hideif [sec_status]=[raw][sec_status][/Raw]][sec_status][/Hideif]&results=T&--db=data/[SM1_DATASOURCE]&--GROUP1field=[--GROUP1field]&--eqGROUP1datarq=[--eqGROUP1datarq]&pageid=[pageid]" FRAMEBORDER=0 >[/!][!]if they have an external link then use it in an iframe[/!][!]if there is a dat_id passed in from the photo search then pass it on to the link page[/!][if ("[_MiddleExternalLink]"!"")&("[_MiddleTemplate]"="ExternalLink")][then][raw][dat_id][/raw]![dat_id]]?dat_id=[dat_id]&cat_id=[cat_id][/showif]" FRAMEBORDER=0 >[/then][!]otherwise, use content they selected from additional pages[/!][else][text]path=additionalpages/[_MiddleTemplate][/text][showif [_MiddleTemplate]^../][text]path=[middle startafter=../&endbefore=][_MiddleTemplate][/middle][/text][/showif][raw][sec_status][/Raw]]main[/Showif][Hideif [sec_status]=[raw][sec_status][/Raw]][sec_status][/Hideif]&results=T&--db=data/[SM1_DATASOURCE]&--GROUP1field=[--GROUP1field]&--eqGROUP1datarq=[--eqGROUP1datarq]&pageid=[pageid]&BODY_PANEL_COLOR=[url][BODY_PANEL_COLOR][/url]&BODY_PANEL_GRAPHIC=[url][BODY_PANEL_GRAPHIC][/url]&LAYOUT_GRAPHIC_PATH=[LAYOUT_GRAPHIC_PATH]" FRAMEBORDER=0 >[/else][/if][/then][else][include file=additionalpages/[_MiddleTemplate]][/else][/if]
--------------------------------------------------------------------------------------------------------------Donovan-- =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o DONOVAN D. BROOKE Eucalyptus Design <-Web Development (specializing in eCommerce), -> <-Graphic Design, and Pre-Press Consultation -> ADDRESS:> Donovan Brooke DBA Eucalyptus Design N2862 Summerville Park Rd. Lodi, WI 53555 PH:> 1.608.592.3567 Web:> http://www.euca.us =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o-------------------------------------------------------------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/
Donovan Brooke
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...