Server Side Include Rendering in Code View

I've been using Dreamweaver for many many years now and our
sites use SSIs extensively. Normally in the code view, the SSI just
shows up as an HTML include. But since getting Dreamweaver 8, some
of the SSIs are showing up as the content of the SSI in the code
view. Is this an option that needs to be turned off somewhere. I
don't want the SSI information being embedded into the code
everytime I download the page.
Thanks,
Mark

Thanks Harlene, good guess though. I had that problem too
downloading from the internet in an older version. No, this problem
is actually happening for a couple of our newer designers. I'm not
in the same state, so actually putting my eyes on the problem is
kinda hard but they are using FTP for there transfering. I have DW7
and they just installed DW8. I was thinking it might be a default
in the new version throwing things off and sure enough it was.
Totally forgot about the invisible items check box. Oops! Thanks
again.

Similar Messages

  • Server Side Includes not displaying in DW CS3 design view

    I have this code in my page (see below):
    When I open the file in Dreamweaver MX 2004 in design view,
    the page displays correctly. That is, I see the correct styles from
    the style sheet contained in Head_Standard.html and the logo/menu
    in Logo_TopMenu.html
    When I open the page in DW CS3, I do not see the effects of
    the style sheet and I do not see the logo/menu.
    However, when I change the code for the first include from:
    virtual="/ServerSide
    to
    virtual="
    ../../ServerSide
    then the page renders correctly in Dreamweaver CS3.
    My first reaction was: what?! And my question is: how do I
    use a root reference inside the head and get it to display properly
    in DW CS 3?

    "Go to Edit > Preferences > Invisible Elements >
    Server-Side Includes (Check this box) to show contents of included
    file"
    I already do this.
    For me:
    /ServerSide... does NOT work
    ../../ServerSide... works
    So, a relative reference works and a reference to the root
    does not. I have over 20 websites with root references and I need
    this to work in DW9.

  • Server-side includes not rendering

    Hi, I'm on CS5.5 (Windows operating environemnt). The server-side includes are not rendering in Live view now, whereas they were previously. Is this some sort of configuration issue, if so can you help me fix it.

    What testing server setup do you have? Are you using something like WAMP?
    What do you see on screen which tells you the SSIs are not rendering? Any error message?

  • Server Side Includes not rendering correctly in Firefox with Layers

    Hi
    The server side includes are not correctly rendering with layers in firefox. From my site here:-
    http://www.osteriastecca.com/index.php
    the home_page.php content renders above a layer on the index.php page. Initially I thought this might be a Flash layer issue but the wmode is set correctly to transparent and it works fine with a normal ssi. It also works fine in Firefox without a server side include as you can see here:-
    http://www.osteriastecca.com/index_old.php
    Works fine in IE and Safari, but not Firefox.
    How can this be rectified?
    Regards
    Glennyboy

    What testing server setup do you have? Are you using something like WAMP?
    What do you see on screen which tells you the SSIs are not rendering? Any error message?

  • What is the difference between jsp :include and server side include

    what is the difference between jsp :include and server side include(request dispatcher include method)????
    i understand that both request dispatcher include method and jsp:include take dynamic data,so when would one use request dispatcher include and when jsp:include.
    Is the usage interchangeable?i believe jsp include is used only for jsp/html but include directive can be used to include servlets ,jsp and html....correct me if i m wrong and
    do suggest if u hav ny other diff in this context...

    The difference really is: in what format do you want your inclusions? If your environment has many Java developers and only a few designers that focus mainly on, say, Flash, that might push you more towards the server-side include() directive. Or, if you have a large set of pages that receive dynamic content that is displayed in a consistent fashion (such as a workflow header area on a page).
    If, on the other hand, you have more web designers, there may be a greater desire to deal in markup rather than Java code. Java developers themselves might prefer to view markup (JSP) that more resembles the eventual output than something occuring in Java code.
    Finally, there are considerations of tiering. While it is totally possible to (and I have previously) implement 'view classes' that render markup or generate layout templates, JSP's offer, IMO, a subtle, psychological advantage. By forcing a developer to work in a different format, markup versus Java source, the separation on view from controller and model becomes a bit easier. It is still possible to make mistakes, but if a developer at some point notices, "Wait, I'm in a JSP, should I be importing a java.sql class?", then the choice to use JSP includes has paid off in spades.
    - Saish

  • Server-Side Include Issue - Please Help

    I am having trouble using server-side includes in
    Dreamweaver. When I use the SSI to insert the header file, the
    header document shows up on the page in design view, but I cannot
    click anything. The cursor turns into a "no sign" no matter where
    it is on the page. I cannot see anything but the header document,
    and I cannot click outside of it or anywhere else in design view.
    When I test the whole document in a web browser it actually seems
    to work just fine. I see the header and the other text on the page
    (unlike in dreamweaver, I cannot see anything but the header). Also
    in Dreamweaver code view, the php tags and the included filename
    are in red. This is the code for the test document:

    On Wed, 7 Mar 2007 04:02:29 +0000 (UTC), "AngryCloud"
    <[email protected]> wrote:
    > <?php include("header.php"); ?>
    What does the code look like in header.php? Does it have
    <html>, <head>
    and <body> tags? It should not.
    Gary

  • "Server-side includes" equivalent in DW CC

    I am a long-time HTML coder, having been hand-writing HTML since the days of Mosaic.  However, I am a complete newbie with DreamWeaver CC.  I have gone through the entire "Bayside Beat" tutorial.
    I am used to using "server-side includes" to include common sections of code on all of my pages.  For example, I include this at the top of every body:
    <!--#include virtual="/inc/banner.inc" --><!--#include virtual="/inc/mainmenu.inc" --><!--#include virtual="/inc/sidebar.inc" -->
    and this at the end:
    <!--#include virtual="/inc/footer.inc" -->
    Following along with the "Bayside Beat" tutorial, I see how to copy those sections from one page to another.  However, what happens if I need to make a change in one of those sections?
    For example, if I were to add a 6th page, I would need to edit the menu, and then manually propogate that change to every page.  Or, next year, when I want to change the copyright to "2014", I again need to manually edit every page.
    Is there any way to say "this section is to be identical on every page that includes it, and automatically propogate any changes to all of those pages"?

    I can't remember when Adobe loused this up.  Probably in DW CS6.
    My workaround is to create my own SSI code in my Custom Snippets folder.  I have one for .shtml/.asp pages and another for .php pages.  One click inserts the code. 
    <!--#include virtual="includes/my-include-file.html" -->
    <?php require_once('includes/my-include-file.php'); ?>
    Once inserted, click on the include statement in code view and you'll see a small properties box where you can browse to the actual file or Edit the include file.  It takes a lot longer to explain than it does to do it.   Bottom line, it's quick and you don't need any 3rd party extensions.
    Nancy O.

  • Server-Side Includes in weblogic server 5.1

              Hi,
              I tried Server-Side Includes examples in weblogic server 5.1 thru .shtml file.
              I am able to load the .shtml file but its not loading the included servlet. But
              I am able to load the included servlet alone separately.
              Somebody can be assist me what I have to do?
              I am using WebApplication WAR structure for my application.
              ex: http://localhost:7001/esp/hellooWorld -- loading the servlet
              http://localhost:7001/esp/html/ServletInclude.shtml -- not loading servlet
              where 'esp' name of the WebApplication
              The .shtml file code is given below
              <html>
              <body>
              <servlet name=hellooWorld>
              </servlet>
              </body>
              </html>
              Looking forward for some help
              Thanks
              

              Your WebLogic doesn't know it's supposed to be doing server-side includes. Make
              sure you have .shtml registered/enabled - see the docs.
              Mike
              "Jyothi" <[email protected]> wrote:
              >
              >Hi Mike,
              >Thanks for your reply.
              >>What errors (if any) do you see in the log file?
              >Just coming up with blank screen. No errors reported in log file. Nothing
              >coming
              >in log file regarding the servlet.
              >>
              >>When you display the page in a browser, what does View -> Source show?
              >Just getting blank screen. If I see view source same source code coming
              >up. Here
              >is the view source when I view it from browser
              >**********************************************
              ><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
              ><html>
              ><head>
              ><title>Including a servlet with SSI</title>
              ></head>
              >
              ><body
              > bgcolor="#FFFFFF"
              > link=#DB1260
              > vlink=#828282>
              >
              ><font face="Helvetica">
              >
              >
              ><p>
              ><servlet name=hellooWorld>
              ></servlet>
              >
              ></font>
              ></body>
              ></html>
              >*********************************************************
              >>Did you register the servlet?
              >Yes. I registered the servlet. Thats why if I load the servlet alone
              >I am getting
              >the output.
              >http://localhost:7001/esp/hellooWorld -> url used to load servlet alone
              >>
              >I hope this info helps to you to analyze my problem
              >
              >Thanks
              >Jyothi
              >>
              >>"Jyothi" <[email protected]> wrote:
              >>>
              >>>Hi,
              >>>I tried Server-Side Includes examples in weblogic server 5.1 thru .shtml
              >>>file.
              >>>I am able to load the .shtml file but its not loading the included
              >servlet.
              >>>But
              >>>I am able to load the included servlet alone separately.
              >>>Somebody can be assist me what I have to do?
              >>>I am using WebApplication WAR structure for my application.
              >>>ex: http://localhost:7001/esp/hellooWorld -- loading the servlet
              >>>http://localhost:7001/esp/html/ServletInclude.shtml -- not loading
              >servlet
              >>>
              >>>where 'esp' name of the WebApplication
              >>>
              >>>The .shtml file code is given below
              >>>-----------------------------------
              >>><html>
              >>><body>
              >>><servlet name=hellooWorld>
              >>></servlet>
              >>></body>
              >>></html>
              >>>--------------------------------------------------
              >>>
              >>>Looking forward for some help
              >>>
              >>>Thanks
              >>>
              >>>
              >>>
              >>>
              >>>
              >>
              >
              

  • Server-side includes in css

    I am trying to incorporate server-side includes for my nav.
    links. I created the website using css. I am able to preview the
    navigationals (with proper links when I hovered) with F12 iexlorer,
    but when I upload everything and view it from IE, Mozilla, etc.
    they aren't there. My left nav. is totally blank.
    I am very new to web making and learned what I could from
    internet sites. Here are examples of my ssi code:
    My index page has a php extension (index.php) and has this
    inserted for the include:
    <?php include("menu.html");?>
    menu.html looks like:
    <ul>
    <li><a href="index.php">Home</a></li>
    <li><a href="searchplans.php">Search Plans
    </a></li>
    <li><a href="modifydesign.php">Modify
    Design</a></li>
    <li><a href="designpricing.php">Design
    Pricing</a></li>
    <li><a href="purchaseplan.php">Purchase
    Plan</a></li>
    <li><a href="contactus.php">Contact
    Us</a></li>
    </ul>
    I know that my server supports ssi, because I previously
    created a very basic site (not using css) using shtm extensions and
    an includes folder. When I called them they said that they support
    php too, but thought it was a problem with my settings in
    Dreamweaver.
    If you have any advice, I would be very grateful. I am
    banging my head on this one.

    Be sure to upload menu.html to your server.
    HTH,
    Randy
    > <?php include("menu.html");?>

  • Dreamweaver previews first Server Side Include Only (SSI)

    Dreamweaver CC and 2014 preview the first Server Side Include (SSI) only, even if the Adobe extension is installed (Using the SSI extension in Dreamweaver to create page headers | Adobe Developer Connection)
    How do I set Dreamweaver to preview multiple (more than one) SSI's?
    Example Code:
    <!doctype html>
    <html>
    <head>
    <meta charset="utf-8">
    <title>Untitled Document</title>
    </head>
    <body>
    <!--#include virtual="/content.shtml" -->
    <!--#include virtual="/content2.shtml" -->
    </body>
    </html>
    The code above will preview the text in "Content.shtml" but will not display the text in "content2.shtml".
    For troubleshooting purposes, I have reduced the content in each file to only single lines of basic text.
    Please advise. Thanks.
    Update:
    Dreamweaver Live View will show all of the server side includes. However the "Design View" and "Preview in Browser" will only show the one ssi.
    The following Preference settings are enabled:
    -Preview using temporary file
    -Show contents of included file
    Update 2:
    I discovered that server side includes have been removed from the Dreamweaver interface, inferred from this article: A Look at the Modernized Dreamweaver CC : Adobe Dreamweaver Team Blog. If Server Side Includes were removed, can they be added again using the Server Behavior extension?

    The issue is fixed in Dreamweaver 2014.1

  • Displaying server-side include in DW8

    Sorry if this has been asked before? I did search and
    couldn't find it (this site is painfully slow and searching is
    worse)
    I am trying to figure out how to make DW8 show my server-side
    include files in the design view. My site uses SSI for all headers
    and footers, so every page has at least 2 SSI's. They show up as
    the SSI mark on the page, but not the code or graphical
    representation of what is in the SSI. I need to have that code
    snipet show up in my design view. The only way I have been able to
    figure out how to do it, is to reinsert the SSI again from the
    menu, and then delete it. Doing it that way, the original ssi that
    is listed on the page will display graphicly in the design view.
    I do have the option in the preferences - Invisible Elements
    - Server-Side includes: and the check box is checked / enabled.
    If I could, while I'm here, one other question. I have DW
    code rewriting turned on, and it shows me each time I open a file,
    what corrections it has made. But if I save the file, and then open
    it again, it shows me the exact same corrections being done again.
    Is there a trick to make DW8 save the corrections it automatically
    makes to the files?
    many thanks in advance.

    > I know that there were major changes between 4 and 8.
    One of which was tightening the tolerance for bad code. CS3
    is very strict
    about displaying proper code.
    However, your fragments below look OK.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "mmdlcab" <[email protected]> wrote in
    message
    news:[email protected]...
    >
    quote:
    Originally posted by:
    bregent
    > Do any of your included files include html, head or body
    tags? If so,
    > that's
    > the problem. Having those creates invalid html which DW
    will not
    > render.
    >
    > Thats a great thought, but I just checked, and no, none
    of those tags are
    > in
    > the files. I'll see if I can attach the code for the 2
    files and see if
    > that
    > helps any. The header file does have my menu system
    pasted into the text
    > of
    > the include file, but that has not caused problems
    previously. FWIW, this
    > worked fine in DW4 which is what I upgraded from. In
    version 4, the
    > headers
    > and footers showed up fine in desgin view. I know that
    there were major
    > changes between 4 and 8.
    >
    > Header include file:
    > ----------------------------
    > <table border="0" align="center" width="750"
    height="110">
    > <tr>
    > <td><a href="/index2.html"><img
    src="/images/color_logo.gif"
    > width="110"
    > height="107" alt="MMDL Logo" border="0"
    /></a></td>
    > <td align="center" valign="middle"><a
    href="/index2.html"><img
    > src="/images/header4.gif" width="450" height="110"
    border="0" alt="MMDL -
    > The
    > worlds largest steel tip dart league"
    /></a></td>
    > <td align="center" valign="middle"><a
    href="testpage.html"></a><a
    > href="
    http://www.dmisports.com/darts_main.html"><img
    > src="/images/dmilogo_small.gif" alt="DMI Sports"
    width="110" height="77"
    > border="0" longdesc="
    http://www.dmisports.com"
    /><br />
    > <!-- <a href="
    http://www.mmdl.org/dmi_flyer.pdf"
    > target="_blank">League Board
    </a></td>-->
    > </a><a href="
    http://www.mmdl.org/dmi_flyer.pdf">League
    Board </a></td>
    > </tr>
    > </table>
    > <!-- DHTML Menu Builder Loader Code START
    --><script language="JavaScript"
    > type="text/javascript">
    > var navVer = navigator.appVersion;
    > if(navVer.substr(0,3) >= 4)
    > if((navigator.appName=="Netscape") &&
    (parseInt(navigator.appVersion)==4))
    > {
    > document.write('<' + 'script language="JavaScript"
    type="text/javascript"
    > src="
    http://www.mmdl.org/dmbmenu/nsmenu.js"><\/script\>');
    > } else {
    > document.write('<' + 'script language="JavaScript"
    type="text/javascript"
    > src="
    http://www.mmdl.org/dmbmenu/iemenu.js"><\/script\>');
    > }</script>
    > <!-- DHTML Menu Builder Loader Code END
    --><table border="0" width="550"
    > height="110">
    > -------------------------------------
    > footer include file
    > --------------------
    > <table border="0" align="center">
    > <tr>
    > <td width="20" valign="top"
    align="center"> </td>
    > <td align="center" valign="middle" width="194">
    > <div align="left"><a
    href="mailto:[email protected]?subject=MMDL
    > Darts.*..
    > ">Comments? Email us</a></div>
    > </td>
    > <td align="center" valign="middle"
    width="128"><a
    > href="
    http://www.mmdl.org/dmbmenu/textmenu.html">Text
    > based menu</a></td>
    > <td align="center" valign="middle"
    width="223">&copy; <SUP>SM</SUP>
    > 2007
    > Minute Man Dart League. All rights reserved.</td>
    > </tr>
    > </table>
    > -----------------------
    >
    >
    >
    >

  • Spry Widget as a Server Side Include

    I am new to using SSI. I guess one question is: does the
    include have to be saved as a .shtm or .shtml file? I am trying to
    take a Spry Navigation bar and use it as an include in a site I am
    building. I have saved it as a .html file and a .shtml file, but
    neither is working. It shows up in design view, but not preview in
    browser view. Here is the code of the SSI:
    <script src="../SpryAssets/SpryMenuBar.js"
    type="text/javascript"></script>
    <link href="../SpryAssets/SpryMenuBarVertical.css"
    rel="stylesheet" type="text/css" />
    <div>
    <ul id="MenuBar1" class="MenuBarHorizontal">
    <li><a href="
    http://www.j-boysentertainment.com">Home</a>
    </li>
    <li><a href="#"
    class="MenuBarItemSubmenu">Projects</a>
    <ul>
    <li><a href="../pamperzpro.html">Pamperz
    Pro</a></li>
    </ul>
    </li>
    <li><a class="MenuBarItemSubmenu"
    href="#">Creative Team</a>
    <ul>
    <li><a href="#">Jeff Reed</a> </li>
    <li><a href="#">John
    Elliott</a></li>
    <li><a href="#">Jack Kelly</a></li>
    <li><a href="#">J. Skylar
    Testa</a></li>
    <li><a href="#">Jonathan
    Perkins</a></li>
    </ul>
    </li>
    <li><a href="#">Connect</a></li>
    </ul>
    </div>
    <script type="text/javascript">
    <!--
    var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1",
    {imgDown:"SpryAssets/SpryMenuBarDownHover.gif",
    imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
    //-->
    </script>
    Does anyone see what I am doing wrong? Also, when I insert it
    as a SSI, does it matter if it is a file or a virtual?

    Create a page that contains ONLY this -
    <p>woohoo</p>
    and save it as woohoo.monkeybutt.
    Then create another page, click in the Design view, and
    insert a server-side
    include. Browse to and select woohoo.monkeybutt.
    Save this new page as "page.shtml".
    Preview it in the browser (with temp files enabled in your
    PREFERENCES).
    'nuff said?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "jp3rks" <[email protected]> wrote in
    message
    news:[email protected]...
    >I am new to using SSI. I guess one question is: does the
    include have to be
    > saved as a .shtm or .shtml file? I am trying to take a
    Spry Navigation
    > bar and
    > use it as an include in a site I am building. I have
    saved it as a .html
    > file
    > and a .shtml file, but neither is working. It shows up
    in design view,
    > but not
    > preview in browser view. Here is the code of the SSI:
    >
    >
    > <script src="../SpryAssets/SpryMenuBar.js"
    > type="text/javascript"></script>
    > <link href="../SpryAssets/SpryMenuBarVertical.css"
    rel="stylesheet"
    > type="text/css" />
    > <div>
    > <ul id="MenuBar1" class="MenuBarHorizontal">
    >
    <a href="
    http://www.j-boysentertainment.com">Home</a>
    </li>
    >
    <a href="#" class="MenuBarItemSubmenu">Projects</a>
    >
    >
    <a href="../pamperzpro.html">Pamperz
    Pro</a></li>
    >
    > </li>
    >
    <a class="MenuBarItemSubmenu" href="#">Creative
    Team</a>
    >
    >
    <a href="#">Jeff Reed</a> </li>
    >
    <a href="#">John Elliott</a></li>
    >
    <a href="#">Jack Kelly</a></li>
    >
    <a href="#">J. Skylar Testa</a></li>
    >
    <a href="#">Jonathan Perkins</a></li>
    >
    > </li>
    >
    <a href="#">Connect</a></li>
    >
    > </div>
    > <script type="text/javascript">
    > <!--
    > var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1",
    > {imgDown:"SpryAssets/SpryMenuBarDownHover.gif",
    > imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
    > //-->
    > </script>
    >
    > Does anyone see what I am doing wrong? Also, when I
    insert it as a SSI,
    > does
    > it matter if it is a file or a virtual?
    >

  • Cannot Preview Server Side Includes in Browser

    I am working on building a new site using server side
    includes for the main header graphic and menu items. For testing
    purposes, I created an .html file with one <div> tag
    containing a single graphic and an .shtml file with the server side
    include code placed in the <head> area. (Doesn't seem to work
    if I place it anywhere within the <body> tag... not sure
    why). At any rate, I can see the SSI in the design view of my
    document, but cannot see it whenever I go to preview the page in my
    browser (Firefox 2.0.0.3). Everything works fine if I upload the
    files to my Web server and view them that way, but why can't I see
    the SSI when working on my local files? The Dreamweaver help files
    explain that I should be able to do so, but it's just not working.
    Well, I'm now at a loss and cannot figure out if I'm doing
    something wrong of if this is just a bug of some kind. Can anyone
    help me to solve this problem so that I can get back on track?
    Much appreciated,
    ~Greg

    >I am working on building a new site using server side
    includes for the main
    > header graphic and menu items. For testing purposes, I
    created an .html
    > file
    > with one <div> tag containing a single graphic and
    an .shtml file with the
    > server side include code placed in the <head>
    area.
    This is not going to work at all. You cannot place body HTML
    in the <head>
    region.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "Myrrhlin225" <[email protected]> wrote in
    message
    news:f1hdmh$clh$[email protected]..
    >I am working on building a new site using server side
    includes for the main
    > header graphic and menu items. For testing purposes, I
    created an .html
    > file
    > with one <div> tag containing a single graphic and
    an .shtml file with the
    > server side include code placed in the <head>
    area. (Doesn't seem to work
    > if I
    > place it anywhere within the <body> tag... not
    sure why). At any rate, I
    > can
    > see the SSI in the design view of my document, but
    cannot see it whenever
    > I go
    > to preview the page in my browser (Firefox 2.0.0.3).
    Everything works
    > fine if
    > I upload the files to my Web server and view them that
    way, but why can't
    > I
    > see the SSI when working on my local files? The
    Dreamweaver help files
    > explain
    > that I should be able to do so, but it's just not
    working. Well, I'm now
    > at a
    > loss and cannot figure out if I'm doing something wrong
    of if this is just
    > a
    > bug of some kind. Can anyone help me to solve this
    problem so that I can
    > get
    > back on track?
    >
    > Much appreciated,
    > ~Greg
    >
    >

  • Are nested server side includes supported in DW?

    Using DW 5.5 on Win 7, Apache 2.2 setup. Does DW Design view support nested server-side includes? I have to work on an old legacy site with nested ssi's that I haven't worked on for quite awhile, and I noted that while working on a page the left side column was not displaying in Display mode, so where the left column should be is just an empty blank div.
    I could swear that DW used to display the nested ssi's, but looking at it now, it certainly isn't.
    The left side column is just a div that is ssi included in the bodies of the pages ( nothing special ). It ssi includes various pieces such as news, announcements, etc. Everything displays fine on the website, but in the Design view the nested SSI's don't display.
    Thanks,
    Doug

    Ken, yes it's an include(s) inside an include. In this case the leftcolumn.html is server-side included in all the pages on the site. Inside the leftcolumn.html are four server-side includes for announcements, news, calendar, and next meeting info. Each of those are separate .html files that are constantly edited. It makes things nice and neat and I can give permission to other people to edit the individual files without screwing up the leftcolumn.html or the whole page. So leftcolumn.html is just a div with a width/margins/background color class and the four server-side includes. Of course you have to tell IIS or Apache you want to allow .html files to use ssi's, but that is simple enough and I think nicer than using .shtml's. YMMV.
    What I thought I remembered was that the left column was fully displayed in the Split or Design modes, but I guess I was wrong. All I see is an empty leftcoumn div that has the proper width and background color. I work almost exclusively in DW code view or sometimes Split View, or use another editor like Brackets or CFBuilder, and just switch to a browser to view the pages.
    Doug

  • Server side includes vs Library assets?

    I like server side include because I just see a single line referring to the included file, and that keep my code free of 'irrelevant' detaiuls.
    However, I cannot preview my program in a local browser (because the include takes place on the server, and not locally on my machine).
    Is there a compromise?  Is there a way to NOT have Dreamweaver CS4 (on my iMac) expand the included library code?

    I am not using anyPHP in this project, so I do not specify it.  I tried specifying in, but that made no difference.
    http://localhost shows me the default index file that is in //Application/MASMP/htdocs (sonce I used MAMP to get PHP up and running).
    The issue seems to be to do with relative paths.
    On my remote server I am installig the files into a folder named /NWC/  The domain name (www.BilliantlySimple.com) is set up to point to that folder.
    I can see the page EXACTLY as I would expect it to be in design view, HOWEVER, when I go to live view it is not finding all of the files that it need to include.  Id does find the such as the CSS file (included with the line: <link href="../_css/Test.css" rel="stylesheet" type="text/css" media="screen" />) BUT any image files included for, say background-image: url(../_images/bg_dot.gif); it does NOT find (even though images in the page itself it can find!)
    I  am using Pop Magic Menus 2 and including those with these lines:
         <link href="../_includes/p7pmm/p7PMMh07.css" rel="stylesheet" type="text/css" media="all" />
         <script type="text/javascript" src="../_includes/p7pmm/p7PMMscripts.js"></script>
    BUT it does NOT find the files to include ONLY in Live view!!!!
    You can see what I am working on at http://www.BilliantlySimple.com but since I cannot use Live view to see the finished result I have to put the code onto the server to see how it is behaving.

Maybe you are looking for

  • Procedure is taking too much time

    I have simple shell script, in this shell script I am executing stored procedure. It should have taken 10 minute. However, this process running since last 5 hours. I don't know why the process is taking that much time. I don't want to kill this proce

  • Duplicate form fields across multi-page forms

    Hello! I have some multi-page forms which include a few identically laid out pages; pages which take a long time to manually set up (nearly 100 fields per page, of varying sizes and positions)... I tried to duplicate the fields from one page to the o

  • Mad and need answers quick.

    How come whenever I plug me Iphone 4 into the computer it deletes all my album covers and playlists? Its starting to **** me off and I'm almost done with apple unless I get a straight forward helpful answer.

  • [POL-5150] access violation

    I am running 8i Lite on Windows 2000. After creating a user (newuser)in Oracle8 Navigator, I then create a table and set owner to newuser. After logging into POLite using SQLPlus as newuser I get a [POL-5150] access violation error when I attempt to

  • Send content of JEditorPane to a Servlet

    Hi there!! I'm editing a HTML page in a JEditorPane on a JApplet and I need to save that page on the server where the JApplet is... So I'm using a servlet... The problem (the only one) e to send the HTML code generated in the JEditorPane to that serv