9 Replies Latest reply on Aug 2, 2007 12:44 PM by Newsgroup_User

    ASP Includes in Dreamweaver cs3

    snowboarder1985ca
      Hi all,

      My issue is that I can't get more than 1 include to display in the editor view of dreamweaver...I have all my settings setup correctly for my site, but it fails to show anything past the first one. I don't ever use this editor view, but my boss is going to take over the site when I leave so he needs to be able to view stuff in the editor view because he has zero code experience...Any ideas? Here's a generic page of code...

      <html>
      <head><title>Sutter-Yuba Mosquito Vector Control District (SYMVCD)</title>
      <link rel="stylesheet" type="text/css" href="Styles.css">
      </head>

      <body>

      <div id="Page">

      <!--#include file ="includes/Logo.inc"-->
      <!--#include file ="includes/Menu.inc"-->
      <!--#include file ="includes/News.inc"-->
      <div id="HomePageContent">

      <p align="center" class="ContentHeading"> Welcome!</p>

      <p class="ContentText">

      </p>
      </div>

      <!--#include file ="includes/SiteMap.inc"-->

      </div>
      </body>
      </html>
        • 1. Re: ASP Includes in Dreamweaver cs3
          Level 7
          > my boss is going to take over the site when I leave so he needs to be able
          > to view stuff in the editor view because he has zero code experience...

          Damn scary. Guess who is going to clean up all the messes?

          Do any of your includes contain <html>, <head>, or <body> tags?

          (and by the way, those are ordinary HTML includes)

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


          "snowboarder1985ca" <webforumsuser@macromedia.com> wrote in message
          news:f8o454$7ue$1@forums.macromedia.com...
          > Hi all,
          >
          > My issue is that I can't get more than 1 include to display in the editor
          > view
          > of dreamweaver...I have all my settings setup correctly for my site, but
          > it
          > fails to show anything past the first one. I don't ever use this editor
          > view,
          > but my boss is going to take over the site when I leave so he needs to be
          > able
          > to view stuff in the editor view because he has zero code experience...Any
          > ideas? Here's a generic page of code...
          >
          > <html>
          > <head><title>Sutter-Yuba Mosquito Vector Control District (SYMVCD)</title>
          > <link rel="stylesheet" type="text/css" href="Styles.css">
          > </head>
          >
          > <body>
          >
          > <div id="Page">
          >
          > <!--#include file ="includes/Logo.inc"-->
          > <!--#include file ="includes/Menu.inc"-->
          > <!--#include file ="includes/News.inc"-->
          > <div id="HomePageContent">
          >
          > <p align="center" class="ContentHeading"> Welcome!</p>
          >
          > <p class="ContentText">
          >
          > </p>
          > </div>
          >
          > <!--#include file ="includes/SiteMap.inc"-->
          >
          > </div>
          > </body>
          > </html>
          >
          >


          • 2. Re: ASP Includes in Dreamweaver cs3
            snowboarder1985ca Level 1
            None of my include files have <html> <head> or <body> tags. As for it being scary...I'm heading back to college and my boss has no clue with web design...go to http://www.sutter-yubamvcd.org and you'll see what I mean..he used FrontPage for that and I think its rediculous so I offered this year to help him out while doing the normal routine work as well around here.
            • 3. Re: ASP Includes in Dreamweaver cs3
              snowboarder1985ca Level 1
              One other thing...you mentioned that the include I used wasn't an ASP include but a normal html include...If that's correct then I could probably just scratch the .asp extension and view it normally in editor mode...

              I also noticed that in my include for menu.inc it has a piece of code for inserting info into the <head> tags for the script...but other than that one there isn't any others with <head> tags
              • 4. Re: ASP Includes in Dreamweaver cs3
                Level 7
                > One other thing...you mentioned that the include I used wasn't an ASP
                > include
                > but a normal html include...If that's correct then I could probably just
                > scratch the .asp extension and view it normally in editor mode...

                Leave it *.asp, or rename it *.shtml.

                As for your includes, what do you see in Design view? Do you see code where
                the other includes would be or what?

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


                "snowboarder1985ca" <webforumsuser@macromedia.com> wrote in message
                news:f8o6o9$au6$1@forums.macromedia.com...
                > One other thing...you mentioned that the include I used wasn't an ASP
                > include
                > but a normal html include...If that's correct then I could probably just
                > scratch the .asp extension and view it normally in editor mode...
                >
                > I also noticed that in my include for menu.inc it has a piece of code for
                > inserting info into the <head> tags for the script...but other than that
                > one
                > there isn't any others with <head> tags
                >
                >


                • 5. Re: ASP Includes in Dreamweaver cs3
                  snowboarder1985ca Level 1
                  When I view the document it fails to show the logo area, and menu area, but displays the news section and sitemap ok
                  • 6. Re: ASP Includes in Dreamweaver cs3
                    Level 7

                    "snowboarder1985ca" <webforumsuser@macromedia.com> wrote in message
                    news:f8oenv$k1t$1@forums.macromedia.com...
                    > When I view the document it fails to show the logo area, and menu area,
                    > but displays the news section and sitemap ok

                    are you using document-relative or site-relative links for the include?


                    • 7. Re: ASP Includes in Dreamweaver cs3
                      snowboarder1985ca Level 1
                      document-relative links
                      • 8. Re: ASP Includes in Dreamweaver cs3
                        bregent Most Valuable Participant
                        >go to http://www.sutter-yubamvcd.org and you'll see what I mean

                        That is scary but the main page (which isn't the default page?) is even worse:
                        http://www.sutter-yubamvcd.org/main.htm

                        I almost had a seizure.

                        Do you have a url where we can look at the current asp page you are having problems with?
                        • 9. Re: ASP Includes in Dreamweaver cs3
                          Level 7

                          "snowboarder1985ca" <webforumsuser@macromedia.com> wrote in message
                          news:f8snqm$s68$1@forums.macromedia.com...
                          > document-relative links

                          you might try changing to to site-relative and see if that fixes the
                          "display" issue