Server Side Includes and Javascript

Can one safely include javascript in a server-side include
(SSI) file? It seems to work but don't know if it will create
problems down the line. I am using a roll-over navigation bar
created and generated in Fireworks. It seems to defeat the purpose
of using SSI if you can't include the javascript since if there was
a change at some point to the navigation bar you would have to
change the javascript that went with it. And it is nice to keep all
that extra coding out of every file on the site. IS there an
official word on this or some process in creating a SSI file that
could prevent any problems?
You can see the file I created using this at
http://www.hopkinsandporter.com/test.shtml

> Can one safely include javascript in a server-side
include (SSI) file?
Yes, but it makes your parent page's derived code messy.
> I am using a
> roll-over navigation bar created and generated in
Fireworks.
This is a big mistake for so many reasons.
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
==================
"TSemmes" <[email protected]> wrote in
message
news:e52id2$pt1$[email protected]..
> Can one safely include javascript in a server-side
include (SSI) file? It
> seems
> to work but don't know if it will create problems down
the line. I am
> using a
> roll-over navigation bar created and generated in
Fireworks. It seems to
> defeat the purpose of using SSI if you can't include the
javascript since
> if
> there was a change at some point to the navigation bar
you would have to
> change
> the javascript that went with it. And it is nice to keep
all that extra
> coding
> out of every file on the site. IS there an official word
on this or some
> process in creating a SSI file that could prevent any
problems?
>
> You can see the file I created using this at <a
target=_blank
> class=ftalternatingbarlinklarge
> href="
http://www.hopkinsandporter.com/test.shtml">http://www.hopkinsandporter.co
> m/test.shtml</a>
>

Similar Messages

  • Server Side Includes and Divs

    I have a template (dwt) for my site with editable regions for
    menus. I want to use Server Side Includes for the menu, as not all
    the pages will have the same menu.
    I have designed the site template (and pages) with css and
    divs. The area for the SSI is a div of size 145x335. The menu which
    I want to put inside this div will be a div based menu. I havent
    had any luck displaying the Div from the SSI yet. I have been
    looking on Google for help, but not much luck. I can get the Div to
    appear but the formatting doesnt show up.
    Im putting the SSI code in where I want it on the page, but
    im not sure exactly which code to get rid of in the shtml file. I
    know I need to remove body, head parts etc
    My site template uses CSS stored on the document, not an
    external css file.
    Any ideas?

    > Im sure Ive not got it right yet!! My head wont work
    lately!
    Yes. It's not working well here, either.
    Create your template with the editable region. In it, have
    links to a) the
    general stylesheet for all the pages, and b) the general
    stylesheet for all
    of the includes (these don't really need to be separate
    files). Spawn a
    child page, drop in the desired include, and save that page
    as
    whocares.shtml.
    That's it....
    The incude files themselves can be names anything you want -
    I like the
    'monkeybutt' extension, e.g.,
    yourinclude.monkeybutt
    The include files can make reference to CSS selectors, but
    cannot have
    embedded CSS rules, or links to external CSS files.
    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
    ==================
    "~Billy~" <[email protected]> wrote in
    message
    news:eq234v$eq6$[email protected]..
    > Ive made myself confused now! I need it spelling out to
    me!
    >
    > Ok, a template file (dwt) with its css as an external
    style sheet.
    >
    > Rest of the sites pages made from the template file.
    >
    > Next, the template has one editable region for a choce
    of 2 div based
    > menus to
    > be placed into. Place either of these div menus into the
    template editable
    > region by creating two seperate SHTML files - one for
    each menu with the
    > body/head removed(and with internal or external css?)
    >
    > Next put the SSI code into the body of the template
    where I want the SSI
    > to
    > appear.
    >
    > Im sure Ive not got it right yet!! My head wont work
    lately!
    >

  • Server Side Includes and php

    I have php forms on a site update.  I want to use a server side include to keep the dynamic menu off the template.  The include works on the home page and other .shtm pages, but not on the php.  This can't be impossible.  What's the hint?  I can't (or can I) save the php as .shtm. and the thread will not allow any of the file types to be attached.  Ergo ... the link:http://shrhabitat.org/index09.shtm, the include: http://shrhabitat.org/includes/hfhshrmenu.lbw, the contact form: http://shrhabitat.org/contactus.php
    don Carlos de la Playa

    Alrighty then,  What I did was add both html and php include code to the template.  It seems to work without duplication.  For the experts in the crowd, will this blow up in my face someday?  As near as I can tell, I just need to ensure that any changes are made to both files which, after all, clones of one another.
    Ya'll have a fine Virginia day, now. Y'hear?
    don Carlos de la playa

  • 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>
    > -----------------------
    >
    >
    >
    >

  • JSP in place of server side includes

    I would like to know what is a server side include and why is it that JSP is preferred to server side includes.

    SSI is used to paste external parts into static HTML Pages and only for simple
    things (not for programs, database accesses,..)
    JSP is much better, because you can use a rich toolkit (JDK), can manipulate the HTTP-answer in more flexible manner as SSI, and all advantgaes of JAVA.
    Regards,
    Geri

  • What language should I use if I am a beginner to using SSI (server side includes)?

    I want to start using server side includes and understand how to also code them by hand.  What is the easiest way to begin?  Do I just php?
    -Kate

    First question you need to ask your Host is if they support server-side includes and which document extensions you can use.
    Common extensions:
    .shtml, .shtm, .php, .asp, .cf.
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics |  Print | Media Specialists
    www.alt-web.com/
    www.twitter.com/altweb

  • Tabbed panels, Collapsible Panel, and Server Side Include

    Hi,
    I'm having a problem with the way a Server Side Include inside a Collapsible Panel displays.
    Here is how this particular page is set up.
    The page has spry tabbed panels.
    >>A panel has one overall Collapsible panel (the main product tab)
    >>>>Nested in that Collapsible panel are four other collapsible panels (Overview, Features, Screenshots, What's New).
    >>>>>>In each of these four collapsible panels is a server side Include that features that category's content
    E verything works fine as far as opening and closing is concerned. However, the problem is with the display. The content panel doesn't resize with the Include content, and therefore, the Include content extends outside the border of the content panel.
    I'm thinking this is because it is Include content rather than normal content. Is that right?
    Do I fix this by changing the overflow value of one the Tabbed Panel CSS styles? If so, which one should I change, and to what value?
    Or if that's not how to fix it, can anyone tell me how?
    Thanks a lot,
    Mike

    Hi, I'm using the latest version of Spry. I modified some CSS rules of the tabbed panels, but not the javascript file. I didn't do anything to the Collapsible Panel rules.
    Since first posting this thread, I changed the overflow of the Tabbed Panels Content Group CSS rule to "scroll". That did produce a scroll, but I'd much rather have the panel expand. So, I changed it back the way it was.
    Here's the page I'm working on. Click the Court Solutions tab to get to the problem panel.
    http://www.ptssolutions.com/Test/public_safety_products_3.shtml
    It has different results in IE and FireFox, but doesn't work correctly in either.
    Thanks a lot for all your help,
    Mike

  • 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 Includes for Apache and parsing text files

    I have an old website I used to do zipped up and I decided to set it up on my personal webserver in OS X . I got apache configured to allow server side includes (edited the httpd.conf to all them:
    <Directory />
    Options FollowSymLinks Indexes MultiViews Includes
    AllowOverride None
    </Directory>
    But I can't get the pages to come up. See I have this .shtml page which loads fine and a part of it has this line:
    <!--#include file="news/news.txt" -->
    But it won't parse that txt file and show the html that its formatted in.
    Anyone have any ideas on how to get it to parse that txt file? Even if I load just that txt file it shows raw code not it formatted. Please help.

    Ignore that first reply. I thought I was dealing with server.
    As usual, I fogot to make sure that Includes was in the Options directive for the DOCUMENT_ROOT or VirtualHost. After 10 years, you'd think I'd remember that. I just configged one of my macs to do SSI. Here's the 3 lines that I changed:
    Line 399 (the DOCUMENT_ROOT definition): Options Indexes FollowSymLinks MultiViews Includes
    Line 887 (To use server parsed HTML): AddType text/html .shtml
    Line 888: AddHandler server-parsed .shtml
    apachectl restart
    and off it went!
    Roger

  • Server side includes: outdated and not supported by host?

    I've been using SSI's for ages with no problem from any host. Recently I signed up with a new web hosting company, one of the more established ones in the Seattle area. They do not support SSI's and claim that using them is not safe and is not a modern approach to web design. They suggested I use a more advanced programming language to create my sites, such as ASP.NET (something I have no desire to do).
    Are server side includes outdated and no longer the way to do things? I find that hard to believe.
    -Jesse

    Are server side includes outdated and no longer the way to do things? I find that hard to believe.
    That language is from Microsoft who seem to think so along with Windows based hosting providers offering ASP.NET.
    IIS no longer comes with SSI installed by default. It has to be configured by the hosting provider.
    http://blogs.iis.net/robert_mcmurray/archive/2010/12/28/iis-notes-on-server-side-includes- ssi-syntax-kb-203064-revisited.aspx
    However, classic SSIs (in the sense of including static content from one page inside another) are still one of the most powerful, safe and flexible tools for managing repetitive page elements in any web page. Not to mention easy.
    ASP.NET has its own way of doing the equivalent of SSIs - and lots more beside but much of which does not interest web designers at this stage.
    http://stackoverflow.com/questions/894720/asp-net-equivalent-of-server-side-includes
    http://searchsoftwarequality.techtarget.com/answer/Alternatives-to-server-side-includes-fo r-ASPNET

  • Making drop down menus in server side includes

    Can drop down menus be part of a server side include? If not,
    how do I have drop down menus in my pages without copying the code
    to all the pages individually?
    I am working in Dreamweaver 8 on a Mac. I've made the drop
    down menus using the behaviors window. Everything is fine in the
    original html file. When I use the file as an include in my main
    page, the javascript drop downs do not work. I have the style sheet
    used in the drop down file attached to the main page. What do I
    need to do with the main page to have the drop down menu work? I
    need to use this drop down on the majority of my pages. Thanks!
    Note: I've taken out the extra code in the include file
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN" "
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="
    http://www.w3.org/1999/xhtml">
    <head> <meta http-equiv="Content-Type" content="text/html;
    charset=ISO-8859-1" /> <title>Untitled
    Document</title></head><body></body></html>

    > Can drop down menus be part of a server side include?
    Sure - it's the only way I do them.
    > I've made the drop down menus using the behaviors window
    That's too bad. You will want to read this -
    http://www.losingfight.com/blog/2006/08/11/the-sordid-tale-of-mm_menufw_menujs/
    There are MUCH better ways -
    Check the uberlink and MacFly tutorials at PVII -
    http://www.projectseven.com/
    and the Navbar tutorial/articles at Thierry's place
    http://tjkdesign.com/articles/dropdown/
    Or this one (more recent article):
    http://tjkdesign.com/articles/Pure_CSS_Dropdown_Menus.asp
    Or to get it done fast, go here -
    http://www.projectseven.com/tutorials/navigation/auto_hide/index.htm
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "aacjp" <[email protected]> wrote in message
    news:[email protected]...
    > Can drop down menus be part of a server side include? If
    not, how do I
    > have
    > drop down menus in my pages without copying the code to
    all the pages
    > individually?
    >
    > I am working in Dreamweaver 8 on a Mac. I've made the
    drop down menus
    > using
    > the behaviors window. Everything is fine in the original
    html file. When I
    > use
    > the file as an include in my main page, the javascript
    drop downs do not
    > work.
    > I have the style sheet used in the drop down file
    attached to the main
    > page.
    > What do I need to do with the main page to have the drop
    down menu work? I
    > need
    > to use this drop down on the majority of my pages.
    Thanks!
    >
    > Note: I've taken out the extra code in the include file
    > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN"
    > "
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html
    > xmlns="
    http://www.w3.org/1999/xhtml">
    <head> <meta
    > http-equiv="Content-Type"
    > content="text/html; charset=ISO-8859-1" />
    <title>Untitled
    >
    Document</title></head><body></body></html>
    >
    >

  • 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?
    >

  • 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.

  • Contribute changing relative path for server-side include

    I am using Contribute CS3, version 4.1, and my pages crash
    every time a send a draft for review, because Contribute is
    rewriting a relative URL in a server-side include.
    The server-side include (before I send for review) reads:
    <!--#include file="../foo/bar.fileextention"-->
    After I edit other portions of the page and send the draft
    for review, it reads:
    <!--#include file="http:
    //www.servername.com/foo/bar.fileextension"-->
    Which results in the draft being unreadable.
    Is there any way to tell Contribute not to monkey with this
    URL? I have hunted, read the forums, checked the knowledge base,
    and coming up empy.
    Thanks in advance for any help you can provide!! I really
    appreciate it!
    -Nicholas

    Answering my own question.
    I researched this complete forum and with taking ideas from
    different posts, I was able to figure this out. I thought I would
    post it for anyone else needing to know the answer in one place:
    Include tags must read:
    <!--#include virtual="includes/fileName.html"-->
    (Include file is NOT a real HTML doc -- no tags in file
    except for CSS, as it would be used if not using Contribute.)
    No reference to .dwt needed nor Template created.
    No Edit instance tags needed anywhere.
    Contribute user navigates to page:
    [Upper right corner] Click Choose...
    [In my structure] User opens includes folder (double clicks)
    User selects THE file (clicks OK)
    User clicks on Edit Page button
    (Text is now editable.)
    User edits text.
    User clicks on Publish button.
    Worked for me several times trying.
    - Janet

  • 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

Maybe you are looking for

  • Pricing Procedure in stock transfer orders

    Hi I have a standard cost material which is to be stock transferred from one plant to another. (std cost in both plants). In this movement, I need the accounting document to generate an accrual to another account for Royalty that has to be paid at a

  • When will WLS 8.1 SP2 be GA ?

    Hi BEA, When will SP2 for WLS 8.1 be GA ? I see some fixes i need on the release notes but SP2 is not available for download. Thanks Yshemi

  • Are there any Citrix Dazzle users on this community?

    For various and sundry reasons, I need to run certain apps on my Mac mini via Citrix Dazzle where the apps in question live on a Windows Xenapp server. I have two questions about this configuration. Unfortunately, the guy who runs my employer's Xenap

  • Object RESB within Critical Area - creating Maintenance Order

    Hi All, We are getting warning message while creating Maintenance Order. It says " Object RESB within Critical Area". After checking we found that 90% of the number range for reservation documents have been consumed and it is maintained in settings t

  • [iphone sdk] best place for preference init

    I'm following the iPhone sample Prefs app. It does all the prefs init in applicationDidFinishLaunching. However, I'm finding in my own app that this isn't cutting it. I have view controllers that are also concurrently getting cranked up and trying to