DWT

S

Susan

hi, i have a dwt, it consists of
top,middle,bottom,left,right, the borders are all include
pages, and the middle is where i want to put my content.
i just tried to put content in my middle section but i
cannot hit enter to move down. I am getting this
message "your change could not be applied because the
code is locked by a DWT". does my template not allow me
to add extra space to the middle? how can i freely put
any content no matter how long it is on my page??


thank you!
 
K

Kevin Spencer

Hi Susan,

You need to define your editable regions in the DWT. A DWT is read-only
except for the editable regions. This is by design, as it enables a
webmaster to create templates with regions that other developers cannot
change.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.
 
S

Susan

hi kevin, i did define them, i'm working on my index page
in which i have attached the DWT. i have named the
editable region "middle". When i start to type my text is
incased by a golden box, then when i try to hit enter i
am getting the message.
 
R

Ronx

If the code in the DWT (Code view) resembles this:

<p><!-- #BeginEditable "middle" -->Content here:<!-- #EndEditable --></p>

you will not be able to use the enter key - all content is constrained to a
single paragraph.
Change the HTML in the DWT to

<!-- #BeginEditable "middle" --><p>Content here:</p><!-- #EndEditable -->

and normal operation should be possible.
 
Top