Skip navigation
Currently Being Moderated

EDITABLE CONTENT ERROR

Feb 10, 2013 10:33 PM

Tags: #error #background #image #dreamweaver #form #cs6

THIS IS A TEMPLATE I HAVE APPLIED TO SOME OF MY PAGES IT IS GIVING ME AN ERROR ON THE CODE (SEE BELOW) AND IT IS ALSO DISPLAYING A PIECE OF CODE IN THE ATTACHED PAGES <%@LANGUAGE="JAVASCRIPT" CODEPAGE="65001"%> BUT I DELETED IT FROM MY TEMPLATE AND IT IS STILL THERE. HELP??

 

HERE IS MY CODE

<!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">

<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<!-- TemplateBeginEditable name="doctitle" -->

<title>biopage</title>

<!-- TemplateEndEditable -->

 

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

<!-- TemplateEndEditable -->

<style type="text/css">

#container {

}

.name_header {

}

#headshot_area {

    float: left;

 

}

.agent_bio_maincontent {

    float: right;

}

#footer {

    clear: both;

}

#Home_button {

    clear: both;

}

</style>

<link href="../agentbio2_stylesheet.css" rel="stylesheet" type="text/css" />

</head>

 

 

THIS IS THE ERROR CODE I AM GETTING WHICH INDICATES IT HAS SOMETHING TO DO WITH THE EDITABLE REGIONS

ERR.png

 
Replies
  • Currently Being Moderated
    Feb 11, 2013 9:16 AM   in reply to jsmcrawler

    Not an expert in DW Templates but, since the TITLE tag is contained in the HEAD section, wouldn't that mean it is a nested editable region?

     

    As for the unwanted <%@LANGUAGE="JAVASCRIPT" CODEPAGE="65001"%>

    When you created this page in DW you probably specified that it would be an

    ASP/Javascript page.

     
    |
    Mark as:
  • Currently Being Moderated
    Feb 11, 2013 11:26 AM   in reply to Ken Binney

    Not an expert in DW Templates but, since the TITLE tag is contained in the HEAD section, wouldn't that mean it is a nested editable region?

    No, Ken. That's what Templates are supposed to look like.  Goofy I know, but it works that way so that child pages can add unique page titles and amend the head tag with scripts & CSS when needed.

     

     

    Nancy O.

     
    |
    Mark as:
  • Currently Being Moderated
    Feb 11, 2013 11:27 AM   in reply to jsmcrawler

    Can you show us a link so we can see all your code and not just fragments?

     

     

    Nancy O.

     
    |
    Mark as:
  • Currently Being Moderated
    Feb 11, 2013 11:55 AM   in reply to Nancy O.

    Thank Heavens, the California Cavalry arrives.

    May I ask, even when the head section is an editable region its content will still appear in a spawned page?

     

    smooch

     
    |
    Mark as:
  • Currently Being Moderated
    Feb 11, 2013 12:23 PM   in reply to Ken Binney

    even when the head section is an editable region its content will still appear in a spawned page?

    Yes.

     

    So how much havoc did Nemo do to you guys?

     

     

    Nancy O.

     
    |
    Mark as:
  • Currently Being Moderated
    Feb 11, 2013 12:47 PM   in reply to Nancy O.

    38' of havoc thanks -

    Here is out my living room window overlooking  the Hudson River

    0120_001.jpg

     
    |
    Mark as:
  • Currently Being Moderated
    Feb 11, 2013 1:20 PM   in reply to Ken Binney

    Pretty view!  

     
    |
    Mark as:
  • Currently Being Moderated
    Feb 11, 2013 1:39 PM   in reply to Nancy O.

    I'm defiinitely NOT a winter person..

     

    117_1719.JPG

     
    |
    Mark as:
  • Currently Being Moderated
    Feb 11, 2013 1:49 PM   in reply to Ken Binney

    It's fine if you don't have to shovel white stuff. 

     

    N

     
    |
    Mark as:
  • Jim Carpenter
    546 posts
    Apr 6, 2006
    Currently Being Moderated
    Feb 11, 2013 2:15 PM   in reply to Ken Binney

    Your editable head area is not a whole head editable area, it is one area in the head section to do like Nancy states, to add scripts, css links etc. They are not nested and are seperate editable areas. The editable head that DW inserts is just another editable area and not the <head> (whole) section.

     

    <head>

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

    <title>Your page title here</title>

    <!-- InstanceEndEditable -->

     

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

    Add your scripts links, css here

    <!-- InstanceEndEditable -->

    </head>

     

    I am not sure why jsm is having the problem, as it looks correct. I would suggest you use the same template and copy and paste the content into a new document then save as with a different name and upload the page and see if the error goes away after you have the page looking identical. I have seen similar problems and that has fixed it for me. It seems the DW leaves a bit of unseen "somethings" sometimes. If that works, then save it over the errored page.... as always, make a backup of the file before overwriting the original.

     

    Jim

     
    |
    Mark as:
  • Currently Being Moderated
    Feb 11, 2013 2:56 PM   in reply to Jim Carpenter

    That makes it completely clear for me

    Thanks Jim

     
    |
    Mark as:
  • Jim Carpenter
    546 posts
    Apr 6, 2006
    Currently Being Moderated
    Feb 12, 2013 7:39 AM   in reply to jsmcrawler

    Try to reorder the first 5 lines of  your code to match below. I think the LANGUAGE declaration has to be first. I am noticing that

    <%@LANGUAGE="JAVASCRIPT" CODEPAGE="65001"%> displays on your pages, not as code, but as content.

     

    <%@LANGUAGE="JAVASCRIPT" CODEPAGE="65001"%>
    <!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">
    <!-- InstanceBegin template="/Templates/indexcatalog.dwt.asp" codeOutsideHTMLIsLocked="false" -->
    <head>

     

    Below is your code currently.

    <!-- InstanceBegin template="/Templates/bio_template_2.dwt.asp" codeOutsideHTMLIsLocked="false" -->
    <head>
    <%@LANGUAGE="JAVASCRIPT" CODEPAGE="65001"%>
    <!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">
    <head>


    See the difference? The first example is from a page that I currently have, but I am using VBSCRIPT and not JAVASCRT

     

    Jim


     
    |
    Mark as:
  • Jim Carpenter
    546 posts
    Apr 6, 2006
    Currently Being Moderated
    Feb 12, 2013 7:57 AM   in reply to jsmcrawler

    Looking at your code, you have a page that is built using a template "bio_template_2.dwt.asp", but the page that is delivered does not have any of the "editable zones" in it, therefore the error is generated. To correct this, you need to rebuild the page from that template (which is what I was wanting above).

     

    File/New/Page from Template and select the bio_template_2.dwt.asp as the template type. and add the content to the editable regions, save as replaceing your test page above. Then see if the error goes away.

     

    You should have three editable regions on the page: EditRegion5, Edit Region4, and EditRegion3, in that order from top to bottom. If you look at the page code for your linked examples, those are missing from your pages, therefore DW is throwing you the error.

     

    I hope this is clear.

     

    Jim

     
    |
    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