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   
MontyRules webforumsuser@macromedia.com
 
Posts: n/a

Default Re: Error from Hell: Locked by a template or translator!!! - 07-13-2003 , 05:45 AM






Murray,
Thanks for your suggestions. I made the changes but still get the error message. So I guess I'll just have to put up with it. There is no reason that I can fathom why Dw does this.

Out of curiosity I opened an old template that I'd made using the previous version of DW, and that did have "doctitle" - when I closed it again it brought up an error message saying "this template does not have any editable regions".

Now that is very odd since I'd been using that template for years without any problems, before. I wonder if the changes in this new version of DW are the problem. I have noticed that, if I open documents created with earlier versions of DW, that when I close them (without having changed anything) DW asks me to "save the changes" - and I'm thinking "what changes?" Maybe the new version handles templates and documents differently.

The only thing I know is that I used to be able to create and use templates, and now I keep getting error messages. When creating templates, selecting a region in the head and asking it to be editable results in the "editable" code shooting much further down the page and ending up in a different region, at random. It then has to be moved manually to the correct place. Thus it seems to me that something is wrong with template handling altogether.



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

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






Monty:

I made those changes I suggested by copying and pasting into a new file.
Although I was getting the error message before, I did not get it after.
Try doing that.

Quote:
I have noticed that, if I open documents created with earlier versions of
DW, that when I close them (without having changed anything) DW asks me to
"save the changes" - and I'm thinking "what changes?" Maybe the new version
handles templates and documents differently.

Without a doubt, this means that DMX has found and changed some bit of code
in the file when it is opened. I am certain that a careful examination of
the page will reveal what this problem might be. DMX is much stricter in
its requirement for clean code, and this is why you are seeing that message.

Quote:
selecting a region in the head and asking it to be editable results in the
"editable" code shooting much further down the page and ending up in a
different region, at random

Nothing is random. You cannot put an editable region in the head of a page
using DMX.

--
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
==================

"MontyRules" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
Murray,
Thanks for your suggestions. I made the changes but still get the error
message. So I guess I'll just have to put up with it. There is no reason
that I can fathom why Dw does this.
Quote:
Out of curiosity I opened an old template that I'd made using the previous
version of DW, and that did have "doctitle" - when I closed it again it
brought up an error message saying "this template does not have any editable
regions".
Quote:
Now that is very odd since I'd been using that template for years without
any problems, before. I wonder if the changes in this new version of DW are
the problem. I have noticed that, if I open documents created with earlier
versions of DW, that when I close them (without having changed anything) DW
asks me to "save the changes" - and I'm thinking "what changes?" Maybe the
new version handles templates and documents differently.
Quote:
The only thing I know is that I used to be able to create and use
templates, and now I keep getting error messages. When creating templates,
selecting a region in the head and asking it to be editable results in the
"editable" code shooting much further down the page and ending up in a
different region, at random. It then has to be moved manually to the correct
place. Thus it seems to me that something is wrong with template handling
altogether.
Quote:




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

Default Re: Error from Hell: Locked by a template or translator!!! - 07-13-2003 , 11:22 AM



Quote:
I made those changes I suggested by copying and pasting into a new file.
Although I was getting the error message before, I did not get it after.
Try doing that.<<

Will do. Was this a new document, or a new template, or doesn't it matter?

Quote:
Nothing is random. You cannot put an editable region in the head of a page
using DMX.

Really??? Wow, that is news to me. I need to know more about this, because I have been making my headers editable. It mostly works, apart from the title section as you know. How then do you make the title and keywords, etc editable? Does the template assume that the meta tags are always the same, thus you cannot edit them in a page created from a template?

I feel sure you can't mean that, exactly, because how would anyone alter their meta tags? Could you explain a bit more? Thanks.





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

Default Re: Error from Hell: Locked by a template or translator!!! - 07-13-2003 , 02:05 PM



Monty:

DMX puts an editable region into the head of the document for you to use for
this kind of thing.

You can also put one there manually. Put you cannot put one there using the
UI.

On your page, I created a new Template page, and copied and pasted your
content making the changes I recommended.

Having full text bare in the head of the document is surely going to throw
an error of some sort....

--
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
==================

"MontyRules" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
I made those changes I suggested by copying and pasting into a new file.
Although I was getting the error message before, I did not get it after.
Try doing that.

Will do. Was this a new document, or a new template, or doesn't it matter?

Nothing is random. You cannot put an editable region in the head of a
page
using DMX.

Really??? Wow, that is news to me. I need to know more about this, because
I have been making my headers editable. It mostly works, apart from the
title section as you know. How then do you make the title and keywords, etc
editable? Does the template assume that the meta tags are always the same,
thus you cannot edit them in a page created from a template?
Quote:
I feel sure you can't mean that, exactly, because how would anyone alter
their meta tags? Could you explain a bit more? Thanks.






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.