PDA

View Full Version : Editable Area Problem


NotVeryTechie
12-19-2008, 10:58 AM
Hi there

I am very, very new at websites and DreamWeaver and I have got stuck. I am now having to update half of each page in DW and then go to notepad to do the rest, which is a pain! It is the top area (title and metadata), it says it is editable, but in DW it won't allow me to edit. It is not a template, because I have tried to unattach the template and it won't let me do that. The head section is contained in a seperate file and pulled in to each page.

Just a bit about me - I have recently taken over the website at a small company, which means that I get to do everything :-D and I am trying frantically to learn html, css, php and DW as quickly as possible.

Here is the code - the bit after it says 'begin editable' is the part that is in fact not editable:

<?php
$thisPage = "oncourse";
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<!-- InstanceBeginEditable name="Content" -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>How to get a job in publishing - New book</title>
<meta name="author" content="Edelweiss Arnold" />
<meta name="description" content="Information about a new book for people wanting to work in publishing called “How to get a Job in Publishing.”">
<meta name="keywords" content="Publishing Training Centre,get into publishing, getting into publishing, how to get into publishing,courses,training">
<link rel="stylesheet" type="text/css" href="/bhcss/ptcstyle.css" />
<!--[if IE]>

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

<![endif]-->
<link rel="stylesheet" type="text/css" href="/bhcss/ptcstyleprint.css" media="print" />
<script type="text/javascript" src="/bhscript/ptcnav.js"></script>
</head>
<!-- InstanceEndEditable -->

Cary
12-19-2008, 11:13 PM
So have you tried removing <!-- InstanceBeginEditable name="Content" -->
and <!-- InstanceEndEditable --> from the file by using Notepad?

NotVeryTechie
12-22-2008, 08:56 AM
Thanks, I am going to try that.

rico1931
12-23-2008, 02:28 PM
Cary is right you don't want those tags in the head but only in the editable place like your body of navigation

Corrosive
12-23-2008, 02:33 PM
Cary is right you don't want those tags in the head but only in the editable place like your body of navigation

Using a template should make stuff like doc titles and descriptions in the head tags editable anyway...I think. So no need to add editable regions to head tags as the guys have said already.

Ricky55
12-23-2008, 08:59 PM
No it doesn't I think the only part that is editable is the title tag, I know I've added editable regions in the past to be able to change meta data and an href to a different style sheet.