9 Replies Latest reply: Jul 29, 2006 5:11 AM by Newsgroup_User RSS

    Code not marked as editable

    Digihound Community Member


      I understand from an earlier post that I can insert editable regions in the <head> of my DW8 template.
      The idea is to be able to add or delete javascripts needed or not needed in a variation of a page.
      I was going very well with this. I created my main template, included the editable regions, added my scripts inside that region, then created a child template from that main template.

      To create my variation on the main template I deleted one of the three scripts included, then clicked refresh. Dreamweaver came up with the message:

      quote:

      You have made changes to code that is not marked as editable. If you retain these changes, they will belost the next time you apply a template update to this file. Do you want to retain the changes until then? Yes/No?


      But the change was within an editable region! The part I was changing was not greyed out, and it was between editable region tags!

      Also, what do you answer to this? If I answer Yes, it keeps my changes but later it will apparently overwrite them if I update the main template. If I answer No, it won't keep my changes anyway.

      I'm sure I must be missing something here, because I keep hitting this message whatever change I make to the editable regions of the head or the body.
        • 1. Re: Code not marked as editable
          Community Member
          > The idea is to be able to add or delete javascripts needed or not needed
          > in a
          > variation of a page.
          > I was going very well with this. I created my main template, included the
          > editable regions, added my scripts inside that region, then created a
          > child
          > template from that main template.

          If you are using any version of DW later than 4, however, there already is
          an editable region in the head that you can use for this purpose - it's
          called "head". Why do you need to add another one?

          > To create my variation on the main template I deleted one of the three
          > scripts
          > included, then clicked refresh. Dreamweaver came up with the message:
          >
          > You have made changes to code that is not marked as editable. If you
          > retain
          > these changes, they will belost the next time you apply a template update
          > to
          > this file. Do you want to retain the changes until then? Yes/No?

          I'd really have to see your code, and know what you were doing to be able to
          diagnose this.

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


          "Digihound" <webforumsuser@macromedia.com> wrote in message
          news:e3nv0m$5uq$1@forums.macromedia.com...
          >
          >
          > I understand from an earlier post that I can insert editable regions in
          > the
          > <head> of my DW8 template.
          > The idea is to be able to add or delete javascripts needed or not needed
          > in a
          > variation of a page.
          > I was going very well with this. I created my main template, included the
          > editable regions, added my scripts inside that region, then created a
          > child
          > template from that main template.
          >
          > To create my variation on the main template I deleted one of the three
          > scripts
          > included, then clicked refresh. Dreamweaver came up with the message:
          >
          > You have made changes to code that is not marked as editable. If you
          > retain
          > these changes, they will belost the next time you apply a template update
          > to
          > this file. Do you want to retain the changes until then? Yes/No?
          >
          > But the change was within an editable region! The part I was changing was
          > not
          > greyed out, and it was between editable region tags!
          >
          > Also, what do you answer to this? If I answer Yes, it keeps my changes but
          > later it will apparently overwrite them if I update the main template. If
          > I
          > answer No, it won't keep my changes anyway.
          >
          > I'm sure I must be missing something here, because I keep hitting this
          > message
          > whatever change I make to the editable regions of the head or the body.
          >


          • 2. Re: Code not marked as editable
            Digihound Community Member
            Thanks,
            I can understand you wanting to see the code, but I can't give access details in an open forum. How do we set up a private thread?
            I also note that there is a long thread elsewhere in which user after user raises similar problems - but apparently for very different reasons (unless there really is a bug but nobody wants to admit it of course!)
            • 3. Re: Code not marked as editable
              Community Member
              Email me - forums at domain. My domain is great-web-sights.com.

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


              "Digihound" <webforumsuser@macromedia.com> wrote in message
              news:e3oj12$2dq$1@forums.macromedia.com...
              > Thanks,
              > I can understand you wanting to see the code, but I can't give access
              > details
              > in an open forum. How do we set up a private thread?
              > I also note that there is a long thread elsewhere in which user after user
              > raises similar problems - but apparently for very different reasons
              > (unless
              > there really is a bug but nobody wants to admit it of course!)
              >


              • 4. Re: Code not marked as editable
                newtech2000 Community Member
                I realize that this is a more appropriate topic than the one I used earlier. Why is it when I click 'Yes' it does not save the changes I made? Right after I click 'yes' the changes I make are lost.
                • 5. Code not marked as editable
                  colchiro
                  Yup, this error is killing me. Right now I'm doing a search and replace in DW 8.02, of 44 pages, replace one div with a simiar one, but a different style attribute. (This _IS_ in an editable region.) My choices are Yes or No. IF I had cancel as an option I'd be using that since I don't want to go thru this 40 more times. My option right now is to terminate the program with Task Manager. IF I had the option of disabling this error I would have done that 3 years ago. Also, only on a rare occasion does clicking Yes, actually retain my changes. Usually it undoes about 5 minutes of work. This is a stupid bug that I have been experiencing for years now and I want it fixed!
                  • 6. Re: Code not marked as editable
                    Community Member
                    If it is a bug, then please tell us how to reproduce it. I'll submit it if
                    you can document what it is and what circumstances cause it to happen. I do
                    not see such things when I work with templates *unless* I also have an error
                    somewhere on the page.

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


                    "colchiro" <webforumsuser@macromedia.com> wrote in message
                    news:e868v8$fvq$1@forums.macromedia.com...
                    > Yup, this error is killing me. Right now I'm doing a search and replace in
                    > DW
                    > 8.01, of 44 pages, replace one div with a simiar one, but a different
                    > style
                    > attribute. (This _IS_ in an editable region.) My choices are Yes or No. IF
                    > I
                    > had cancel as an option I'd be using that since I don't want to go thru
                    > this 40
                    > more times. My option right now is to terminate the program with Task
                    > Manager.
                    > IF I had the option of disabling this error I would have done that 3 years
                    > ago.
                    > Also, only on a rare occasion does clicking Yes, actually retain my
                    > changes.
                    > Usually it undoes about 5 minutes of work. This is a stupid bug that I
                    > have
                    > been experiencing for years now and I want it fixed!
                    >


                    • 7. Re: Code not marked as editable
                      Community Member
                      On Sat, 1 Jul 2006 14:36:27 -0400, "Murray *ACE*"
                      <forums@HAHAgreat-web-sights.com> wrote:

                      >If it is a bug, then please tell us how to reproduce it. I'll submit it if
                      >you can document what it is and what circumstances cause it to happen. I do
                      >not see such things when I work with templates *unless* I also have an error
                      >somewhere on the page.

                      Murray - you have said this many times, but not as far as I can see -
                      said what this other error is.

                      I still get this dreaded "Code not marked as editable" error - but
                      find it difficult to track down what is wrong - even when I am most
                      definetaly NOT editing protected code.

                      Malcolm



                      --

                      Malcolm
                      webmaster http://www.nb-president.org.uk/
                      Nnew Edition of 'Steaming Up' now on-line
                      • 8. Re: Code not marked as editable
                        colchiro Community Member
                        I assume it happens because I have divs in my footer and DW assumes that divs in the content have broken the template. It only happens if I have have split mode on (design and code view both showing). I doubt I've ever seen it with just code view.

                        Don't worry about fixing it or reproducing it. Just add a way to turn it off, and ensure that it doesn't roll back changes unless I tell it to.
                        • 9. Re: Code not marked as editable
                          Community Member
                          On Sat, 29 Jul 2006 01:09:58 +0000 (UTC), "colchiro"
                          <webforumsuser@macromedia.com> wrote:

                          >I assume it happens because I have divs in my footer and DW assumes that divs
                          >in the content have broken the template. It only happens if I have have split
                          >mode on (design and code view both showing). I doubt I've ever seen it with
                          >just code view.
                          >
                          > Don't worry about fixing it or reproducing it. Just add a way to turn it off,
                          >and ensure that it doesn't roll back changes unless I tell it to.


                          I too have suffered this problem for a long time and not been able to
                          pin down the "alledged" error. I definnately have not done what the
                          error message suggests - i.e changed code not marked as editable.
                          So although there may well be an error somewhere - the error message
                          is clearly erroneous.

                          I have found though that if imediately after the error message appears
                          - close the offending file - without saving it again and reopen.

                          The code change has been made - and you can carry on from where you
                          left off.

                          Malcolm
                          --

                          Malcolm
                          webmaster http://www.nb-president.org.uk/
                          The coal fired steam narrow boat.
                          Kildare is now back in the water