Ask a Question related to Macromedia Dynamic HTML, Design and Development.
-
ja4ck #1
ssi commands in DW
:confused; I'm a newbee trying to take over a Web site that just sort of grew
over the years with sucession of developers. First, it works! Second, while
I've been programming many years, I am brand new to web site development. I'm
trying to use DW to do the maintenance and later development. Currently it
uses nested SSI #includes and and #if, #else, #endif commands. The index.shtml
page includes "/templates/header.shtml" which contains only ssi commands. The
commands do an #if on something I haven't figured out yet to determine which
file to #inclued. Nothing happens in DW. Further when I bring up
"/templates/header.shtml" in DW, the #if, #else, #endif are greyed out as
comments and both includes are executed. Someone please help!
Jack
ja4ck Guest
-
Key commands
I have very much utilized InDesigns ability to customize key commands (mine pretty much mimic Quarks since I'm already familiar with them) but I... -
please tell me what are the following unix commands:
Hello, I am not a UNIX expert can you please tell me how to execute or achieve the following functions, what are the unix commands: How to... -
Simple Commands
Hello, 1. How do I determine the number of records in a query I perform in a textbox on one form that has a subform (the subform is the form i... -
Linux commands
I am new to Linux, just installed Debian 3.0r1 to and including the basic setup. The OS appears in text mode, and I could not get further than... -
passing commands via ssh
Hello all, I am trying to execute a command on another server from my web application. I need to execute the command via ssh for security... -
Murray *ACE* #2
Re: ssi commands in DW
The first thing you should do is to spend a month coming up to speed with
HTML and CSS. Do this before you touch ANYTHING.
Your description is a bit confusing. Can you post the entire code of the
head region of one of these pages?
It may also be useful to see the markup within some of these include files.
--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
[url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
[url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
[url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
[url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
==================
"ja4ck" <webforumsuser@macromedia.com> wrote in message
news:ehapiv$ih5$1@forums.macromedia.com...> :confused; I'm a newbee trying to take over a Web site that just sort of
> grew
> over the years with sucession of developers. First, it works! Second,
> while
> I've been programming many years, I am brand new to web site development.
> I'm
> trying to use DW to do the maintenance and later development. Currently
> it
> uses nested SSI #includes and and #if, #else, #endif commands. The
> index.shtml
> page includes "/templates/header.shtml" which contains only ssi commands.
> The
> commands do an #if on something I haven't figured out yet to determine
> which
> file to #inclued. Nothing happens in DW. Further when I bring up
> "/templates/header.shtml" in DW, the #if, #else, #endif are greyed out as
> comments and both includes are executed. Someone please help!
>
> Jack
>
Murray *ACE* Guest
-
Deaf Web Designer #3
Re: ssi commands in DW
Sounds like he is working with PHP and javascript, but I could be wrong.
Deaf Web Designer Guest
-
ja4ck #4
Re: ssi commands in DW
:confused; Thanks for the prompt respose. Well sure, that's what I'm doing.
My (current) problem is with DW. Why does it not respond to the SSI in the
same way as the web site?
The beginning of the "index.shtml" file is below.
<!--#include virtual="/templates/header.shtml"-->
<p align="center">
<font face="Impact" size="7">October</font></p>
The complete "/templates/header.shtml" file is below
<!--#if expr="\"DD${QUERY_STRING_UNESCAPED}\" = \"DDprint\"" -->
<!--#include virtual="/templates/header-print.shtml"-->
<!--#else -->
<!--#include virtual="/templates/header-regular.shtml"-->
<!--#endif -->
As stated last message the #if, #else, and #endif lines are greyed out in DW
code view as if they were comments. The #includes are highlighted is the usual
various colors. When I load this file in DW, BOTH includes are executed. The
beginning of "/templates/header-regular.shtml" is below
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
If I change the include in "index.shtml" to load
"/templates/header-regular.shtml", I get the expect page.
All of this in DW. From what I've read (I didn't start today), this looks
like standard SSI to me.
If you would like to see the working site, go to [url]www.pptu.org[/url].
Thanks,
Jack
ja4ck Guest
-
ja4ck #5
Re: ssi commands in DW
:brokenheart;:HI, I sent sent the code you requested. I hope it was sufficient. I'm trying to evaluate DW and do need to know if it supports the full SSI.
Jack Benoit
ja4ck Guest
-
Murray *ACE* #6
Re: ssi commands in DW
Sorry, Jack. Yes, it does. But it's not a DW issue. It's just HTML, you
know?
--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
[url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
[url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
[url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
[url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
==================
"ja4ck" <webforumsuser@macromedia.com> wrote in message
news:ehteam$erh$1@forums.macromedia.com...> :brokenheart;:HI, I sent sent the code you requested. I hope it was
> sufficient. I'm trying to evaluate DW and do need to know if it supports
> the full SSI.
> Jack Benoit
Murray *ACE* Guest
-
Murray *ACE* #7
Re: ssi commands in DW
Perhaps my previous post was misleading.
Those server directives will only get executed when the page is served, not
in DW's Design view - is that what you are asking?
--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
[url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
[url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
[url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
[url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
==================
"ja4ck" <webforumsuser@macromedia.com> wrote in message
news:ehteam$erh$1@forums.macromedia.com...> :brokenheart;:HI, I sent sent the code you requested. I hope it was
> sufficient. I'm trying to evaluate DW and do need to know if it supports
> the full SSI.
> Jack Benoit
Murray *ACE* Guest
-
ja4ck #8
Re: ssi commands in DW
:light;Yes, that is exactly what I was asking. To me, it is disapointing that
a WYSIWYG application that does not support SSI (beyond inlcude) or hover or
links and who knows what else. But it seems to be the best there is. It would
seam that some eager beaver would run with this. Anyway that''s what it is and
I'll live with it. I installed a local Apache server which I can use to test
things out, but why not include Apache behavoir in DW.
Thanks for the info
Good by and good luck.
Jack Benoit
ja4ck Guest



Reply With Quote

