Ask a Question related to Macromedia Dreamweaver, Design and Development.
-
GGirlando webforumsuser@macromedia.com #1
"OR" statements allowed in MultipleIf conditional regions in templates?
Does DMX allow the addition of an "OR" condition on a MultipleIf conditional region: Thus displaying the same output for two different conditions?
If so, what is the syntax?
E.g. I want the following If clause to be executed if the "page_id" equals "home" or "home2"
<!-- TemplateBeginIfClause cond="page_id=='home' ;'home2'" -->
Thank you!
GGirlando webforumsuser@macromedia.com Guest
-
#39640 [NEW]: Segfault with "Allowed memory size exhausted"
From: phpbugs at thequod dot de Operating system: Ubuntu Linux PHP version: 5CVS-2006-11-26 (CVS) PHP Bug Type: Reproducible... -
"Requested registry access is not allowed" and Web Service call
Hey all - I'm having a really confusing problem concerning a web service. Right now, I have an application that needs to call a web service that... -
#26356 [Fbk->Csd]: sporatic "Allowed memory size exhausted" errors
ID: 26356 User updated by: my-junkmail at earthlink dot net Reported By: my-junkmail at earthlink dot net -Status: ... -
#26356 [Opn->Fbk]: sporatic "Allowed memory size exhausted" errors
ID: 26356 Updated by: sniper@php.net Reported By: my-junkmail at earthlink dot net -Status: Open +Status: ... -
#26356 [Opn]: sporatic "Allowed memory size exhausted" errors
ID: 26356 User updated by: my-junkmail at earthlink dot net Reported By: my-junkmail at earthlink dot net Status: ... -
Steve Fleischer #2
Re: "OR" statements allowed in MultipleIf conditional regions in templates?
"DiMa" <diana@YOURHATANDCOATdimadesign.net> wrote in news:bet57r$3rp$1
@forums.macromedia.com:
If he's at a Springsteen concert I will sulk! :-)> I THINK. Not totally sure. Where's Murray when you need him??
--
Steve
Hong Kong
Steve Fleischer Guest
-
GGirlando webforumsuser@macromedia.com #3
Re: "OR" statements allowed in MultipleIf conditional regions in templates?
Hmmm, thanks for the reply--I tried it, but i am getting a "bad syntax" error.
I also tried a semicolon ; which did not evoke a bad syntax error, but it also didn't execute one of two outputs in the child pages.
GGirlando webforumsuser@macromedia.com Guest
-
Murray *TMM* #4
Re: "OR" statements allowed in MultipleIf conditional regions in templates?
Steve:
The Springsteen concert isn't until next month! 8D
And DiMa is very close to the correct answer - try this ...
<!-- TemplateBeginIfClause cond="page_id=='home'||
cond="page_id=='home2'" -->
--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver MX
(If you *MUST* email me, don't LAUGH when you do so!)
==================
[url]news://forums.macromedia.com/macromedia.dreamweaver[/url] - THE BEST WAY TO GET
ANSWERS
==================
[url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
[url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
[url]http://www.DreamweaverFAQ.com[/url] - DW FAQs, Tutorials & Resources
[url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
==================
"Steve Fleischer" <blacksheep@steve-fleischer.net> wrote in message
news:Xns93B86FCE88110blacksheepsteve@65.57.83.209. ..> "DiMa" <diana@YOURHATANDCOATdimadesign.net> wrote in news:bet57r$3rp$1
> @forums.macromedia.com:
>>> > I THINK. Not totally sure. Where's Murray when you need him??
> If he's at a Springsteen concert I will sulk! :-)
>
> --
> Steve
> Hong Kong
Murray *TMM* Guest
-
Murray *TMM* #5
Re: "OR" statements allowed in MultipleIf conditional regions in templates?
Steve:
8)
And, the Eagles blew me away....
--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver MX
(If you *MUST* email me, don't LAUGH when you do so!)
==================
[url]news://forums.macromedia.com/macromedia.dreamweaver[/url] - THE BEST WAY TO GET
ANSWERS
==================
[url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
[url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
[url]http://www.DreamweaverFAQ.com[/url] - DW FAQs, Tutorials & Resources
[url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
==================
"Steve Fleischer" <blacksheep@steve-fleischer.net> wrote in message
news:Xns93B8C594488FDblacksheepsteve@65.57.83.209. ..news:beu2qm$fpq$1> "Murray *TMM*" <forums@HAHAgreat-web-sights.com> wrote in> @forums.macromedia.com:
>>> > Steve:
> >
> > The Springsteen concert isn't until next month! 8D
> .envy{
> color: #008000;
> }
>
> <td class="envy">`Cause tramps like us, baby we were born to run</td>
>
> Have a good one Murray!
>
> --
> Steve
> Hong Kong
Murray *TMM* Guest
-
Steve Fleischer #6
Re: "OR" statements allowed in MultipleIf conditional regions in templates?
"Murray *TMM*" <forums@HAHAgreat-web-sights.com> wrote in news:beu4hp$ijp$1
@forums.macromedia.com:
I'll be in Salt Lake City in November - maybe I'll get to see the Osmonds!> And, the Eagles blew me away....
:-)
--
Steve
Hong Kong
Steve Fleischer Guest
-
Murray *TMM* #7
Re: "OR" statements allowed in MultipleIf conditional regions in templates?
DiMa:
You're not supposed to remember them! 8)
--
Murray --- ICQ 71997575
==================
"DiMa" <diana@YOURHATANDCOATdimadesign.net> wrote in message
news:beuimt$hp0$1@forums.macromedia.com...flying> WAHEY!!! The Bugaloos! We're in the air and everywhere...flying high!> loose! Flying free as the summer breeze!
>
> The Bugaloos ROCK!! :)
>
Murray *TMM* Guest
-
GGirlando webforumsuser@macromedia.com #8
Re: "OR" statements allowed in MultipleIf conditional regions in templates?
<!-- TemplateBeginIfClause cond="page_id=='home'|| cond="page_id=='home2'" -->
Hmmm, tried this too--still not working.
The format you posted there has three double quotes. Should there be an additional double-quote? Or one less?
Also, should there be a space after the || ?
I've tried various combinations of the above, but still get error messages.
"Unbalanced Quotes or Missing Attributes Value", or "Unbalanced Assignment Left Hand Side"
GGirlando webforumsuser@macromedia.com Guest
-
Brad Halstead - TMM #9
Re: "OR" statements allowed in MultipleIf conditional regions in templates?
Hi Glen
I believe your issue will be resolved with:
<!-- TemplateBeginIfClause cond="((page_id=='home')||(
page_id=='home2'))" -->
Hope that helps.
--
Brad Halstead (brad at dreamweavermx-templates.com)
TMM Volunteer [Contribute] - [url]http://www.macromedia.com/go/team/[/url]
DreamweaverMX Templates - [url]http://www.dreamweavermx-templates.com[/url]
"GGirlando" <webforumsuser@macromedia.com> wrote in message
news:bet4is$35q$1@forums.macromedia.com...conditional region: Thus displaying the same output for two different> Does DMX allow the addition of an "OR" condition on a MultipleIf
conditions?equals "home" or "home2">
> If so, what is the syntax?
>
> E.g. I want the following If clause to be executed if the "page_id">
> <!-- TemplateBeginIfClause cond="page_id=='home' ;'home2'" -->
>
> Thank you!
>
>
Brad Halstead - TMM Guest



Reply With Quote

