Locked code in an Editable Region!

Ask a Question related to Dreamweaver AppDev, Design and Development.

  1. #1

    Default Locked code in an Editable Region!

    I'm just learning Dreamweaver (graduating from Frontpage), and have run into a
    problem. I've created a few documents based on a template I had created at the
    outset. The template only has a top and left border that's locked, while the
    rest of the body is supposed to be an editable region. As I was creating one of
    the documents based on this template, I changed what was a couple of forms on
    the page down to just one form. In doing this, Dreamweaver's HTML inspector
    objected to a few of my tags in this document, including <pre><!--
    InstanceBeginEditable name="EditRegion1" -->. Here's the main problem: any
    attempt to fix this code is impossible because now, the entire document is
    LOCKED due to this error.

    If I detach this document from its template and manage to figure out and fix
    the problematic code, can I then RE-ATTACH THE DOCUMENT TO THE TEMPLATE? (When
    I did try detaching the document, the remaining code was grayed out and
    uneditable!).

    Any suggestions would be greatly appreciated!
    :confused;

    dzirnite Guest

  2. Similar Questions and Discussions

    1. Contribute Overwritting Style In Locked Region
      Have template based table site using CSS. Have an editable region for user to change content with Contribute. She updated a page in the editable...
    2. editable region end tag stripped away
      When my Contribute 3 publishers edit a template-based webpage then publish it, the editable region <end tag> is stripped. As a result, the editable...
    3. Difficult to change code in editable region
      I have a page attached to a template. Often, when I try to change the code in an editable region (such as adding ColdFusion <cfif></cfif> or...
    4. Editable region no longer editable
      Brad, what did you determine on this question--I am having the exact same problem too--when i try to edit a nested template editable region, it tells...
    5. DWMX bug? Template update rewriting code in Editable Region
      Here's the deal. I have a number of pages that have dynamic content populating drop down menus. This code resides in an Editable Region defined...
  3. #2

    Default Re: Locked code in an Editable Region!

    You really need to fix the template itself .. for one thing .. what is the
    <pre> tag for? That makes it look like you are trying to preformat the
    editable region .. this is not the way. Could you post your template code?


    --
    Nancy Gill
    Team Macromedia Volunteer for Dreamweaver MX/UltraDev
    [url]http://www.macromedia.com/go/team/[/url]
    Co-Author: Dreamweaver MX: Instant Troubleshooter (August, 2003)
    Technical Editor: DMX 2004: The Complete Reference, DMX 2004: A Beginner's
    Guide, Mastering Macromedia Contribute
    Technical Reviewer: Dynamic Dreamweaver MX/DMX: Advanced PHP Web Development

    "dzirnite" <webforumsuser@macromedia.com> wrote in message
    news:d4pho9$kde$1@forums.macromedia.com...
    > I'm just learning Dreamweaver (graduating from Frontpage), and have run
    into a
    > problem. I've created a few documents based on a template I had created at
    the
    > outset. The template only has a top and left border that's locked, while
    the
    > rest of the body is supposed to be an editable region. As I was creating
    one of
    > the documents based on this template, I changed what was a couple of forms
    on
    > the page down to just one form. In doing this, Dreamweaver's HTML
    inspector
    > objected to a few of my tags in this document, including <pre><!--
    > InstanceBeginEditable name="EditRegion1" -->. Here's the main problem: any
    > attempt to fix this code is impossible because now, the entire document is
    > LOCKED due to this error.
    >
    > If I detach this document from its template and manage to figure out and
    fix
    > the problematic code, can I then RE-ATTACH THE DOCUMENT TO THE TEMPLATE?
    (When
    > I did try detaching the document, the remaining code was grayed out and
    > uneditable!).
    >
    > Any suggestions would be greatly appreciated!
    > :confused;
    >

    Nancy Gill Guest

  4. #3

    Default Re: Locked code in an Editable Region!

    Thank you for replying, Nancy. Here is the code behind my template.

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
    <head>
    <!-- TemplateBeginEditable name="doctitle" -->
    <title>Untitled Document</title>
    <!-- TemplateEndEditable -->
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <!-- TemplateBeginEditable name="head" -->
    <!-- TemplateEndEditable -->
    </head>

    <body>
    <table width="789" height="146" border="0">
    <tr>
    <td><p><img src="../images/banner2.jpg" width="789" height="146"
    align="top"></p>
    </td>
    </tr>
    </table>
    <table width="833" height="1000" border="0">
    <tr valign="top">
    <td width="128" height="1000">
    <pre><img src="../images/verticlebanner.jpg" width="128"
    height="216"></pre></td>
    <td width="695" height="1000">
    <pre><!-- TemplateBeginEditable name="EditRegion1" -->EditRegion1






    <!-- TemplateEndEditable --></pre></td>
    </tr>
    </table>
    <p>&nbsp;</p>
    <p>&nbsp;</p>
    </body>
    </html>


    dzirnite Guest

  5. #4

    Default Re: Locked code in an Editable Region!

    This code looks normal (except for the editable region between <pre> and
    </pre> (which is a little strange but shouldn't cause an error). Are you
    saying that you can now no longer edit the template page in DW?

    --
    Murray --- ICQ 71997575
    Team Macromedia Volunteer for Dreamweaver
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    [url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
    [url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
    ==================

    "dzirnite" <webforumsuser@macromedia.com> wrote in message
    news:d4rvp8$bsr$1@forums.macromedia.com...
    > Thank you for replying, Nancy. Here is the code behind my template.
    >

    Murray *TMM* Guest

  6. #5

    Default Re: Locked code in an Editable Region!

    No, I'm saying that I can no longer edit a document that's attached to that
    template. When I try via the display, I get the locked symbol; when I try via
    the code, I get the pop-up window saying I can't make such changes because
    "Making this change would require changing code that is locked by a template or
    a translator. The change will be discarded." This applies to the whole
    document, and the problem started when I reduced 3 forms in it down to 1 large
    form (I have code set up so that when I submit the form, fields throughout the
    page must be included). Why doing that would cause my whole page to be locked
    is beyond me. Please help!

    dzirnite 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