HighDots Forums  

Re: Error from Hell: Locked by a template or translator!!!

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Re: Error from Hell: Locked by a template or translator!!! in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
jason kennedy
 
Posts: n/a

Default Re: Error from Hell: Locked by a template or translator!!! - 07-10-2003 , 12:24 AM






it's to do with the "Code outside of template is locked" feature
which doesnt seem to work properly anyway. set to true or
false it still throws problems for me (PC/MX 6)

IMO it would be better to have some code locking mechanism for DW templates
that was part of the app,
rather than embedded in the document code.

i've resorted to editing the pages in notepad

i have no perfect answer, but you're not alone!

all the best

jason

"Crispy" <polaatx (AT) REMOVE (DOT) yahoo.com> wrote

Quote:
I swear to you, sometimes I am editing INSIDE the editable region of page
that's a child of template (DW MX). I spend 15 minutes writing code and
then
as soon as I try to save I get this error: code locked by template or
translator .... and then it just wipes off all the changes I made.

Why is that??? I know I am inside the editable region. I am not dreaming
it.

When I go inside Homesite and do the same change and then open it up in
DW,
it is fine. It's just that DW SOMETIMES won't let me edit inside the
editable region.

Please give me some tips. crispy





Reply With Quote
  #2  
Old   
MontyRules webforumsuser@macromedia.com
 
Posts: n/a

Default Re: Error from Hell: Locked by a template or translator!!! - 07-10-2003 , 07:00 AM






And allied to this, can anyone please tell me why I get an error message when editing something like a title of a page (in the headers) that I have clearly and correctly marked as EDITABLE in my template?.

Anytime I update the page title I get an error message telling me that I've changed code that is in an UNeditable region, and "do you want to continue anyway"...) Well, uh YEAH.

And this is illogical, Captain, since DW won't LET you alter uneditable code in a temple, will it? It just complains and says no-can-do.

Trouble is, when I have to reapply the template for any reason, all my page titles are wiped out and replaced by the dummy title contained in the template.



Reply With Quote
  #3  
Old   
Murray *TMM*
 
Posts: n/a

Default Re: Error from Hell: Locked by a template or translator!!! - 07-10-2003 , 07:21 AM



jason:

It works properly. The error message is thrown when the template engine
tries to change some code somewhere on your page and cannot because that
part of the page is locked.

It means that you have a coding error on the page. Show me the page please.

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver MX
(If you *MUST* email me, don't LAUGH when you do so!)
==================
news://forums.macromedia.com/macromedia.dreamweaver - THE BEST WAY TO GET
ANSWERS
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.DreamweaverFAQ.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================

"jason kennedy" <jason (AT) NOSPAMpinhut (DOT) com> wrote

Quote:
it's to do with the "Code outside of template is locked" feature
which doesnt seem to work properly anyway. set to true or
false it still throws problems for me (PC/MX 6)

IMO it would be better to have some code locking mechanism for DW
templates
that was part of the app,
rather than embedded in the document code.

i've resorted to editing the pages in notepad

i have no perfect answer, but you're not alone!

all the best

jason

"Crispy" <polaatx (AT) REMOVE (DOT) yahoo.com> wrote in message
news:beimes$pm$2 (AT) forums (DOT) macromedia.com...
I swear to you, sometimes I am editing INSIDE the editable region of
page
that's a child of template (DW MX). I spend 15 minutes writing code and
then
as soon as I try to save I get this error: code locked by template or
translator .... and then it just wipes off all the changes I made.

Why is that??? I know I am inside the editable region. I am not dreaming
it.

When I go inside Homesite and do the same change and then open it up in
DW,
it is fine. It's just that DW SOMETIMES won't let me edit inside the
editable region.

Please give me some tips. crispy







Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.