Ask a Question related to Macromedia Dynamic HTML, Design and Development.

  1. #1

    Default 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

  2. Similar Questions and Discussions

    1. 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...
    2. 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...
    3. 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...
    4. 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...
    5. 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...
  3. #2

    Default 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

  4. #3

    Default Re: ssi commands in DW

    Sounds like he is working with PHP and javascript, but I could be wrong.
    Deaf Web Designer Guest

  5. #4

    Default 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

  6. #5

    Default 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

  7. #6

    Default 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

  8. #7

    Default 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

  9. #8

    Default 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

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139