Skip navigation
Currently Being Moderated

Template Warning - Not Editable?

Aug 16, 2012 8:21 AM

Tags: #error #template #dreamweaver #cs6 #warning

I keep seeing an error telling me I have made changes to an area that is not editable. I can click Yes or No to keep changes but it doesn't matter if I click yes or no as it has no effect on the page. Screenshot of Error: http://screencast.com/t/oQdAUG4x

 

I am using a DW Template and the template looks like this:

 

 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xmlns:og="http://ogp.me/ns#" xmlns:fb="http://www.facebook.com/2008/fbml">

<!-- InstanceBegin template="my-template.dwt" codeOutsideHTMLIsLocked="false" -->

<head>

<!-- InstanceBeginEditable name="doctitle" --><title></title><!-- InstanceEndEditable -->

 

<!-- InstanceBeginEditable name="head" -->

 

</head>

<body>

 

<!-- InstanceEndEditable -->

 

<!-- InstanceBeginEditable name="ContentArea" -->{tag_pagecontent}<!-- InstanceEndEditable -->

</body>

<!-- InstanceEnd --></html>

 

When working with a page I edit the content only within the <!-- InstanceBeginEditable -->  <!-- InstanceEndEditable --> areas.

 

What happens with this error is I am working on a page if I click anywhere outside of the page including another program I see this message. It has become a real pain as I must always deal with this error even when switching between programs and coming back to DW. Are others seeing this error and how do I stop it?

 

I am running DW CS6 on Windows 7 (64bit). I do use Business Catalyst and the template is set so it works with their servers.

 
Replies
  • Currently Being Moderated
    Aug 16, 2012 9:50 AM   in reply to Lynda Spangler

    Did you "define" this site in DW before setting up the template?

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 16, 2012 10:16 AM   in reply to Lynda Spangler

    The error you are describing usually has nothing to do with editable regions, except that it only gets displayed when you are working with template child pages.  It generally means "Oops I have found an error".  This error could be in your HTML or in your CSS. In your case, I see the likely cause (or is it just a typo?).  You have this -

     

    <!-- InstanceBeginEditable name="head" -->

     

    </head>

    <body>

    <!-- InstanceEndEditable -->

    and it must be this -

     

    <!-- InstanceBeginEditable name="head" -->

    <!-- InstanceEndEditable -->

    </head>

    <body>

     

    You CANNOT put the body tag into an editable region like that.

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 16, 2012 2:33 PM   in reply to Lynda Spangler

    This code validates, and should not throw that warning. Does it?

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 16, 2012 6:11 PM   in reply to Lynda Spangler

    Show us a page that is giving you this error, please.  A link would be best.

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 17, 2012 4:16 AM   in reply to Lynda Spangler

    That is a bit of a puzzle - there's nothing that jumps off the page for me.  Let's take care of the little things, though -

     

    963<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">end tag for "meta" omitted, but OMITTAG NO was specified

    This refers to the fact that you are using an XHTML doctype, but don't have the proper closing syntax for that meta tag.  It should end with a self-closing slash, e.g., '/>'.

     

    1601643…gGAAAMAHTRKzfpKGSsAAAAASUVORK5CYII=" /><span class="info-icon"></span>Photo In…required attribute "alt" not specified

    So add the alt attribute already - even an empty one, e.g., alt=""!

     

    Also I notice in several places that you have links looking like this -

     

    <script type="text/javascript" src="//use.typekit.net/kzf4prm.js"></script>

     

    or this -

     

    <script type="text/javascript" src="//s7.addthis.com/js/250/addthis_widget.js#pubid=ra-4dfb00d56c76d 2a5"></script>

     

    Try changing those to include the protocol explicitly, e.g.,

     

    <script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pubid=ra-4dfb00d56c76d2 a5"></script>

     

    Finally, if none of those work then try commenting out the CSS links and see if the page still throws the warning.  Let us know what the results are, please!

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 18, 2012 4:35 AM   in reply to Lynda Spangler

    I seem to have found the culprit of the error. Within BC you have content holders, they are rendered like so: {module_contentholder,61248}

     

    Nice work.

     

    Should I file a bug report with the DW Team?

     

    Yes, definitely.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points