12 Replies Latest reply on Oct 29, 2008 10:33 AM by Newsgroup_User

    Templates will not load in Firefox

    AbqFS
      I have updated several of our intranet pages using templates. I really like that I can change the template and change all of the pages at once. The files load and look great in IE6. However, when I load the pages in Firefox 3.0.3, I only get the data and none of the template. I am using Dreamweaver 8 and Windows XP SP2.

      Since these are intranet pages, I cannot give you links, but I am pasting the beginning of each file below.

      TEMPLATE (basic.dwt)
      <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" " http://www.w3.org/TR/html4/strict.dtd">
      <html lang="en">
      <head>
      <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
      <!-- TemplateBeginEditable name="doctitle" -->
      <title>- Region 3 Transportation</title>
      <!-- TemplateEndEditable -->
      <link href="../Transport.css" rel="stylesheet" type="text/css">
      <!-- TemplateBeginEditable name="head" -->
      <!-- TemplateEndEditable -->
      <!-- TemplateParam name="Additional Home Page Link" type="boolean" value="true" -->
      </head>
      <body>
      file continues...

      FILE USING TEMPLATE
      <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" " http://www.w3.org/TR/html4/strict.dtd">
      <html lang="en"><!-- InstanceBegin template="/Templates/Basic.dwt" codeOutsideHTMLIsLocked="false" -->
      <head>
      <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
      <!-- InstanceBeginEditable name="doctitle" -->
      <title>Preconstruction - Region 3 Transportation</title>
      <!-- InstanceEndEditable -->
      <link href="../Transport.css" rel="stylesheet" type="text/css">
      <!-- InstanceBeginEditable name="head" --><!-- InstanceEndEditable -->
      <!-- InstanceParam name="Additional Home Page Link" type="boolean" value="true" -->
      </head>
      <body>
      file continues...

      I have tried taking out the xhtml stuff and putting a direct link of template="/Templates/Basic.dwt". This worked great in Firefox, but then the text was all huge in IE6. I guess I don't understand why Firefox isn't seeing the template file. I have loaded the Mozilla HTML Validator and the only errors I am getting are using bordercolor. Any ideas or help would be greatly appreciated because I have been banging my head against a wall all day.

      Thanks!
      -Andrea
        • 1. Re: Templates will not load in Firefox
          Level 7
          A DW *.dwt is not suitable for browsing. It only functions within DW.

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


          "AbqFS" <webforumsuser@macromedia.com> wrote in message
          news:ge5j0s$2fa$1@forums.macromedia.com...
          >I have updated several of our intranet pages using templates. I really
          >like
          > that I can change the template and change all of the pages at once. The
          > files
          > load and look great in IE6. However, when I load the pages in Firefox
          > 3.0.3, I
          > only get the data and none of the template. I am using Dreamweaver 8 and
          > Windows XP SP2.
          >
          > Since these are intranet pages, I cannot give you links, but I am pasting
          > the
          > beginning of each file below.
          >
          > TEMPLATE (basic.dwt)
          > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
          > " http://www.w3.org/TR/html4/strict.dtd">
          > <html lang="en">
          > <head>
          > <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
          > <!-- TemplateBeginEditable name="doctitle" -->
          > <title>- Region 3 Transportation</title>
          > <!-- TemplateEndEditable -->
          > <link href="../Transport.css" rel="stylesheet" type="text/css">
          > <!-- TemplateBeginEditable name="head" -->
          > <!-- TemplateEndEditable -->
          > <!-- TemplateParam name="Additional Home Page Link" type="boolean"
          > value="true" -->
          > </head>
          > <body>
          > file continues...
          >
          > FILE USING TEMPLATE
          > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
          > " http://www.w3.org/TR/html4/strict.dtd">
          > <html lang="en"><!-- InstanceBegin template="/Templates/Basic.dwt"
          > codeOutsideHTMLIsLocked="false" -->
          > <head>
          > <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
          > <!-- InstanceBeginEditable name="doctitle" -->
          > <title>Preconstruction - Region 3 Transportation</title>
          > <!-- InstanceEndEditable -->
          > <link href="../Transport.css" rel="stylesheet" type="text/css">
          > <!-- InstanceBeginEditable name="head" --><!-- InstanceEndEditable -->
          > <!-- InstanceParam name="Additional Home Page Link" type="boolean"
          > value="true" -->
          > </head>
          > <body>
          > file continues...
          >
          > I have tried taking out the xhtml stuff and putting a direct link of
          > template="/Templates/Basic.dwt". This worked great in Firefox, but then
          > the
          > text was all huge in IE6. I guess I don't understand why Firefox isn't
          > seeing
          > the template file. I have loaded the Mozilla HTML Validator and the only
          > errors I am getting are using bordercolor. Any ideas or help would be
          > greatly
          > appreciated because I have been banging my head against a wall all day.
          >
          > Thanks!
          > -Andrea
          >

          • 2. Re: Templates will not load in Firefox
            Level 7
            Do the pages validate?

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


            "AbqFS" <webforumsuser@macromedia.com> wrote in message
            news:ge5j0s$2fa$1@forums.macromedia.com...
            >I have updated several of our intranet pages using templates. I really
            >like
            > that I can change the template and change all of the pages at once. The
            > files
            > load and look great in IE6. However, when I load the pages in Firefox
            > 3.0.3, I
            > only get the data and none of the template. I am using Dreamweaver 8 and
            > Windows XP SP2.
            >
            > Since these are intranet pages, I cannot give you links, but I am pasting
            > the
            > beginning of each file below.
            >
            > TEMPLATE (basic.dwt)
            > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
            > " http://www.w3.org/TR/html4/strict.dtd">
            > <html lang="en">
            > <head>
            > <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
            > <!-- TemplateBeginEditable name="doctitle" -->
            > <title>- Region 3 Transportation</title>
            > <!-- TemplateEndEditable -->
            > <link href="../Transport.css" rel="stylesheet" type="text/css">
            > <!-- TemplateBeginEditable name="head" -->
            > <!-- TemplateEndEditable -->
            > <!-- TemplateParam name="Additional Home Page Link" type="boolean"
            > value="true" -->
            > </head>
            > <body>
            > file continues...
            >
            > FILE USING TEMPLATE
            > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
            > " http://www.w3.org/TR/html4/strict.dtd">
            > <html lang="en"><!-- InstanceBegin template="/Templates/Basic.dwt"
            > codeOutsideHTMLIsLocked="false" -->
            > <head>
            > <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
            > <!-- InstanceBeginEditable name="doctitle" -->
            > <title>Preconstruction - Region 3 Transportation</title>
            > <!-- InstanceEndEditable -->
            > <link href="../Transport.css" rel="stylesheet" type="text/css">
            > <!-- InstanceBeginEditable name="head" --><!-- InstanceEndEditable -->
            > <!-- InstanceParam name="Additional Home Page Link" type="boolean"
            > value="true" -->
            > </head>
            > <body>
            > file continues...
            >
            > I have tried taking out the xhtml stuff and putting a direct link of
            > template="/Templates/Basic.dwt". This worked great in Firefox, but then
            > the
            > text was all huge in IE6. I guess I don't understand why Firefox isn't
            > seeing
            > the template file. I have loaded the Mozilla HTML Validator and the only
            > errors I am getting are using bordercolor. Any ideas or help would be
            > greatly
            > appreciated because I have been banging my head against a wall all day.
            >
            > Thanks!
            > -Andrea
            >

            • 3. Re: Templates will not load in Firefox
              AbqFS Level 1
              Yes, the pages validate.

              "A DW *.dwt is not suitable for browsing. It only functions within DW."

              dwt files are Dynamic Web Templates. They are not limited to Dreamweaver. What would be the point of creating a template that only worked in the software where you wrote your webpages?

              Again, these pages load perfectly in IE6. Firefox does not "see" the line <!-- InstanceBegin template="/Templates/Basic.dwt" -->. Why is Forefox not seeing this command?
              • 4. Re: Templates will not load in Firefox
                Level 7
                Your right. I have another software from M.......t and it uses template
                with the extension .dwt

                aka Frenchy ASP
                "AbqFS" <webforumsuser@macromedia.com> wrote in message
                news:ge79e3$f95$1@forums.macromedia.com...
                > Yes, the pages validate.
                >
                > "A DW *.dwt is not suitable for browsing. It only functions within DW."
                >
                > dwt files are Dynamic Web Templates. They are not limited to Dreamweaver.
                > What would be the point of creating a template that only worked in the
                > software
                > where you wrote your webpages?
                >
                > Again, these pages load perfectly in IE6. Firefox does not "see" the line
                > <!-- InstanceBegin template="/Templates/Basic.dwt" -->. Why is Forefox
                > not
                > seeing this command?
                >
                >


                • 5. Re: Templates will not load in Firefox
                  Level 7
                  > They are not limited to Dreamweaver.

                  Do me a favor. Try to use a DW template with any other HTML authoring
                  system. The code used in DW's Template files is proprietary to all DW
                  versions since DW4. So, you are completely wrong here. But the point I was
                  making is this -

                  You can upload DW's Template files to the server until you are blue in the
                  face. They will affect nothing. The only way to use DW's Templates is
                  WITHIN DREAMWEAVER.

                  > Again, these pages load perfectly in IE6. Firefox does not "see" the line
                  > <!-- InstanceBegin template="/Templates/Basic.dwt" -->. Why is Forefox
                  > not
                  > seeing this command?

                  This is not code that would be present on a DW Template page. This is a DW
                  Child page. And of course that code is completely suitable for web use -
                  after all, it's just an HTML comment. But what are you expecting Firefox to
                  do here?


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


                  "AbqFS" <webforumsuser@macromedia.com> wrote in message
                  news:ge79e3$f95$1@forums.macromedia.com...
                  > Yes, the pages validate.
                  >
                  > "A DW *.dwt is not suitable for browsing. It only functions within DW."
                  >
                  > dwt files are Dynamic Web Templates. They are not limited to Dreamweaver.
                  > What would be the point of creating a template that only worked in the
                  > software
                  > where you wrote your webpages?
                  >
                  > Again, these pages load perfectly in IE6. Firefox does not "see" the line
                  > <!-- InstanceBegin template="/Templates/Basic.dwt" -->. Why is Forefox
                  > not
                  > seeing this command?
                  >
                  >

                  • 6. Re: Templates will not load in Firefox
                    Level 7
                    Murray, I beg your forgiveness. You are absolutly right. When I create a
                    Template using DW and then try to use it with this other program, even know
                    they have the same extension, It tells me that there is no region that can
                    be edit. So I would have to recreate all the editable regions.

                    I should have learn by now to test before I speak....

                    aka Frenchy ASP
                    "Murray *ACE*" <forums@HAHAgreat-web-sights.com> wrote in message
                    news:ge7bhd$i5g$1@forums.macromedia.com...
                    >> They are not limited to Dreamweaver.
                    >
                    > Do me a favor. Try to use a DW template with any other HTML authoring
                    > system. The code used in DW's Template files is proprietary to all DW
                    > versions since DW4. So, you are completely wrong here. But the point I
                    > was making is this -
                    >
                    > You can upload DW's Template files to the server until you are blue in the
                    > face. They will affect nothing. The only way to use DW's Templates is
                    > WITHIN DREAMWEAVER.
                    >
                    >> Again, these pages load perfectly in IE6. Firefox does not "see" the
                    >> line
                    >> <!-- InstanceBegin template="/Templates/Basic.dwt" -->. Why is Forefox
                    >> not
                    >> seeing this command?
                    >
                    > This is not code that would be present on a DW Template page. This is a
                    > DW Child page. And of course that code is completely suitable for web
                    > use - after all, it's just an HTML comment. But what are you expecting
                    > Firefox to do here?
                    >
                    >
                    > --
                    > 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
                    > ==================
                    >
                    >
                    > "AbqFS" <webforumsuser@macromedia.com> wrote in message
                    > news:ge79e3$f95$1@forums.macromedia.com...
                    >> Yes, the pages validate.
                    >>
                    >> "A DW *.dwt is not suitable for browsing. It only functions within DW."
                    >>
                    >> dwt files are Dynamic Web Templates. They are not limited to
                    >> Dreamweaver.
                    >> What would be the point of creating a template that only worked in the
                    >> software
                    >> where you wrote your webpages?
                    >>
                    >> Again, these pages load perfectly in IE6. Firefox does not "see" the
                    >> line
                    >> <!-- InstanceBegin template="/Templates/Basic.dwt" -->. Why is Forefox
                    >> not
                    >> seeing this command?
                    >>
                    >>
                    >


                    • 7. Re: Templates will not load in Firefox
                      Level 7
                      DW had DWT files first - the syntax was quite simple. The format was copied
                      by both GoLive and FrontPage using that simple format. So - DWT files
                      created by DW4 or earlier will work in both GL and FP. With DMX, the
                      Template syntax was drastically changed, allowing for things like nested
                      templates, editable attributes, repeat regions, optional regions, template
                      parameters/expressions, etc. Nobody but DW adopted that format.

                      Thus, DW can read and use any GL/FP template (at least as far as the
                      Template syntax goes). But no other app can use a DW>4 version Template.

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


                      "Alain St-Pierre" <alainetcolleen@hotmail.com> wrote in message
                      news:ge7chl$jji$1@forums.macromedia.com...
                      > Murray, I beg your forgiveness. You are absolutly right. When I create a
                      > Template using DW and then try to use it with this other program, even
                      > know they have the same extension, It tells me that there is no region
                      > that can be edit. So I would have to recreate all the editable regions.
                      >
                      > I should have learn by now to test before I speak....
                      >
                      > aka Frenchy ASP
                      > "Murray *ACE*" <forums@HAHAgreat-web-sights.com> wrote in message
                      > news:ge7bhd$i5g$1@forums.macromedia.com...
                      >>> They are not limited to Dreamweaver.
                      >>
                      >> Do me a favor. Try to use a DW template with any other HTML authoring
                      >> system. The code used in DW's Template files is proprietary to all DW
                      >> versions since DW4. So, you are completely wrong here. But the point I
                      >> was making is this -
                      >>
                      >> You can upload DW's Template files to the server until you are blue in
                      >> the face. They will affect nothing. The only way to use DW's Templates
                      >> is WITHIN DREAMWEAVER.
                      >>
                      >>> Again, these pages load perfectly in IE6. Firefox does not "see" the
                      >>> line
                      >>> <!-- InstanceBegin template="/Templates/Basic.dwt" -->. Why is Forefox
                      >>> not
                      >>> seeing this command?
                      >>
                      >> This is not code that would be present on a DW Template page. This is a
                      >> DW Child page. And of course that code is completely suitable for web
                      >> use - after all, it's just an HTML comment. But what are you expecting
                      >> Firefox to do here?
                      >>
                      >>
                      >> --
                      >> 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
                      >> ==================
                      >>
                      >>
                      >> "AbqFS" <webforumsuser@macromedia.com> wrote in message
                      >> news:ge79e3$f95$1@forums.macromedia.com...
                      >>> Yes, the pages validate.
                      >>>
                      >>> "A DW *.dwt is not suitable for browsing. It only functions within DW."
                      >>>
                      >>> dwt files are Dynamic Web Templates. They are not limited to
                      >>> Dreamweaver.
                      >>> What would be the point of creating a template that only worked in the
                      >>> software
                      >>> where you wrote your webpages?
                      >>>
                      >>> Again, these pages load perfectly in IE6. Firefox does not "see" the
                      >>> line
                      >>> <!-- InstanceBegin template="/Templates/Basic.dwt" -->. Why is Forefox
                      >>> not
                      >>> seeing this command?
                      >>>
                      >>>
                      >>
                      >
                      >

                      • 8. Re: Templates will not load in Firefox
                        AbqFS Level 1
                        Okay, who cares where the dwt file was created. What I have been saying all along is that the "child" page is not loading the template. My original message stated I only get the data and none of the template. So I see the information that was typed in the editable fields only. The template information does not load in Firefox. why?

                        >This is not code that would be present on a DW Template page. >This is a DW Child page. And of course that code is completely >suitable for web use - after all, it's just an HTML comment. But >what are you expecting Firefox to do here?

                        I am expecting Firefox to load the templated information like IE6 does. It should give me my header and other data that is in the template. Firefox is not seeing the <!-- InstanceBegin template="/Templates/Basic.dwt" --> command. Why?

                        • 9. Re: Templates will not load in Firefox
                          Level 7
                          > What I have been saying all
                          > along is that the "child" page is not loading the template.

                          And what I have been saying all along is that the child page will NOT 'load
                          the template' (whatever that means). The child page is a stand-alone HTML
                          page. It doesn't need anything else to be properly rendered in your
                          browser.

                          But you had better post a link to the page so we can see what you are
                          struggling to make us understand.

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


                          "AbqFS" <webforumsuser@macromedia.com> wrote in message
                          news:ge7i0q$r6r$1@forums.macromedia.com...
                          > Okay, who cares where the dwt file was created. What I have been saying
                          > all
                          > along is that the "child" page is not loading the template. My original
                          > message stated I only get the data and none of the template. So I see
                          > the
                          > information that was typed in the editable fields only. The template
                          > information does not load in Firefox. why?
                          >
                          > >This is not code that would be present on a DW Template page. >This is a
                          > >DW
                          > Child page. And of course that code is completely >suitable for web use -
                          > after
                          > all, it's just an HTML comment. But >what are you expecting Firefox to do
                          > here?
                          >
                          > I am expecting Firefox to load the templated information like IE6 does.
                          > It
                          > should give me my header and other data that is in the template. Firefox
                          > is
                          > not seeing the <!-- InstanceBegin template="/Templates/Basic.dwt" -->
                          > command.
                          > Why?
                          >
                          >
                          >

                          • 10. Re: Templates will not load in Firefox
                            bregent Most Valuable Participant
                            >What I have been saying all along is that the "child" page is not loading the template.

                            You are not understanding how DW templates work.

                            >Firefox is not seeing the <!-- InstanceBegin template="/Templates/Basic.dwt" --> command. Why?

                            Firefox and all other browsers do not do anything with that 'command'. It is simply an html comment that is used within the DW application which tells DW what template spawned this child page. DW templates do not affect their child pages dynamically on the server. When you make a change to a template, you then need to propagate those changes to the child pages and then upload those changed page to the server.

                            If you have done this and your child pages are still not displaying correctly, then you have probably created the pages incorrectly. Again, we need to see an example of a complete page - the small snippet you included does not provide enough details.
                            • 11. Re: Templates will not load in Firefox
                              AbqFS Level 1
                              I can't show the whole page since it is an internal document. However, I think you guys have led me in the right direction. Firefox is seeing the html code "strictly" and as such is not seeing the cell background color that delineates certain cells to make the "format" of the page. I moved that information to a css sheet and it is much better.

                              Thank you for the help!
                              • 12. Re: Templates will not load in Firefox
                                Level 7
                                Wow. I cannot imagine how that could be the problem. But - good luck with
                                this....

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


                                "AbqFS" <webforumsuser@macromedia.com> wrote in message
                                news:gea514$k3m$1@forums.macromedia.com...
                                >I can't show the whole page since it is an internal document. However, I
                                >think
                                > you guys have led me in the right direction. Firefox is seeing the html
                                > code
                                > "strictly" and as such is not seeing the cell background color that
                                > delineates
                                > certain cells to make the "format" of the page. I moved that information
                                > to a
                                > css sheet and it is much better.
                                >
                                > Thank you for the help!
                                >