Prevent DreamWeaver from changing code

Ask a Question related to Macromedia Dynamic HTML, Design and Development.

  1. #1

    Default Prevent DreamWeaver from changing code

    I'm trying to combine a handwritten page into a site created with DreamWeaver.
    The handwritten page obeys all DWs template instructions - it's copied from an
    existing DW page and all changes are made between <!-- InstanceBeginEditable...
    and <!-- InstanceEndEditable... etc.

    However, when the page is loaded into DW, all the links in the handwritten
    code are 'updated' by DW to point to old locations for their targets, which no
    longer work. Is their any way, short of telling DW not to modify .html files at
    all, to prevent it from changing the code?

    Also, the handwritten page is based on a newer template than the page it
    replaces. The rest of the site uses the new one too. However, DW replaces the
    new template with the old one, presumably because it thinks that's the
    appropriate template for the page. It's subsequently difficult to change, as DW
    cannot render the handwritten page correctly (it uses lots of positioned
    content). Is there any way to tell DW to default to the new template for the
    page?

    Thanks in advance,
    Jon,
    UCL, London, UK

    EscF1F2 Guest

  2. Similar Questions and Discussions

    1. Changing Acrobat Psuedo Printer Destination by VBA Code
      I have Acrobat 7.0 Pro, and I am currently able to generate pdf files to my destination that was set during setup. I currently set my destination to...
    2. Changing 'Chmod' via Dreamweaver MX2004
      Hi All Can some body help, please. How do you change the 'chmod' setting within MX2004. If you know the answer, please make it simple. Regards...
    3. rearranged dreamweaver code fix
      There is an annoying problem where Visual Studio rearranges Dreamweaver template markers (which are really just comments so VS should ignore them). ...
    4. Changing Windows password by .NET code?
      Hi! I'm using Windows authentication in one of my ASP.NET projects because this way it's easy for me to define which users has access to which...
    5. how to prevent prevent .so-calling routine to crash from segfaults in .so
      Hi, Guys I am stuck with a problem and need some help. Platform : Linux(RedHat 7.3) Problem Area : Dynamic Shared Object Libraries, POSIX...
  3. #2

    Default Re: Prevent DreamWeaver from changing code

    I've had a lot of weird problems with DW messing up templates in the past,
    especially if you do something like move the directory that the template is
    stored in, or move the directory that the files based on it are in (e.g,
    moving all your HTML into a directory called /pages from the site root).

    Off the top of my head, you can tell DW not to re-write different bits and
    pieces from the preferences menu. Not got in front of me right now also.
    Also, you could consider never opening design view again! Once you get
    properly into the code, you can do a lot more, a lot more quickly and
    efficiently, and with a lot less frustration. I haven't opened design view
    for years, apart from to laugh at how different a page can look in DW than
    it does in a browser!

    Rob



    EscF1F2 wrote:
    > I'm trying to combine a handwritten page into a site created with
    > DreamWeaver. The handwritten page obeys all DWs template instructions
    > - it's copied from an existing DW page and all changes are made
    > between <!-- InstanceBeginEditable... and <!-- InstanceEndEditable...
    > etc.
    >
    > However, when the page is loaded into DW, all the links in the
    > handwritten code are 'updated' by DW to point to old locations for
    > their targets, which no longer work. Is their any way, short of
    > telling DW not to modify .html files at all, to prevent it from
    > changing the code?
    >
    > Also, the handwritten page is based on a newer template than the
    > page it replaces. The rest of the site uses the new one too. However,
    > DW replaces the new template with the old one, presumably because it
    > thinks that's the appropriate template for the page. It's
    > subsequently difficult to change, as DW cannot render the handwritten
    > page correctly (it uses lots of positioned content). Is there any way
    > to tell DW to default to the new template for the page?
    >
    > Thanks in advance,
    > Jon,
    > UCL, London, UK

    rob::db Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139