I have altered the actual title and other content here, for the sake of brevity. Underneath this is the non-editable region of menus, followed by the text part of the document which I can edit normally. Does this help? [allowsmilie] => 1 [showsignature] => 0 [ipaddress] => [iconid] => 0 [visible] => 1 [attach] => 0 [infraction] => 0 [reportthreadid] => 0 [isusenetpost] => 1 [msgid] => [ref] => [htmlstate] => on_nl2br [postusername] => MontyRules webforumsuser@macromedia.com [ip] => "MontyRules" we [isdeleted] => 0 [usergroupid] => [membergroupids] => [displaygroupid] => [password] => [passworddate] => [email] => [styleid] => [parentemail] => [homepage] => [icq] => [aim] => [yahoo] => [msn] => [skype] => [showvbcode] => [showbirthday] => [usertitle] => [customtitle] => [joindate] => [daysprune] => [lastvisit] => [lastactivity] => [lastpost] => [lastpostid] => [posts] => [reputation] => [reputationlevelid] => [timezoneoffset] => [pmpopup] => [avatarid] => [avatarrevision] => [profilepicrevision] => [sigpicrevision] => [options] => [akvbghsfs_optionsfield] => [birthday] => [birthday_search] => [maxposts] => [startofweek] => [referrerid] => [languageid] => [emailstamp] => [threadedmode] => [autosubscribe] => [pmtotal] => [pmunread] => [salt] => [ipoints] => [infractions] => [warnings] => [infractiongroupids] => [infractiongroupid] => [adminoptions] => [profilevisits] => [friendcount] => [friendreqcount] => [vmunreadcount] => [vmmoderatedcount] => [socgroupinvitecount] => [socgroupreqcount] => [pcunreadcount] => [pcmoderatedcount] => [gmmoderatedcount] => [assetposthash] => [fbuserid] => [fbjoindate] => [fbname] => [logintype] => [fbaccesstoken] => [newrepcount] => [vbseo_likes_in] => [vbseo_likes_out] => [vbseo_likes_unread] => [temp] => [field1] => [field2] => [field3] => [field4] => [field5] => [subfolders] => [pmfolders] => [buddylist] => [ignorelist] => [signature] => [searchprefs] => [rank] => [icontitle] => [iconpath] => [avatarpath] => [hascustomavatar] => 0 [avatardateline] => [avwidth] => [avheight] => [edit_userid] => [edit_username] => [edit_dateline] => [edit_reason] => [hashistory] => [pagetext_html] => [hasimages] => [signatureparsed] => [sighasimages] => [sigpic] => [sigpicdateline] => [sigpicwidth] => [sigpicheight] => [postcount] => 5 [islastshown] => [isfirstshown] => [attachments] => [allattachments] => ) -->[quote] > The Title of the[/quote] Article[quote] > [quote] > > > > I have altered the actual title and other content here, for the sake of[/quote] brevity. Underneath this is the non-editable region of menus, followed by the text part of the document which I can edit normally.[quote] > > Does this help? > >[/quote] [allowsmilie] => 1 [showsignature] => 0 [ipaddress] => [iconid] => 0 [visible] => 1 [attach] => 0 [infraction] => 0 [reportthreadid] => 0 [isusenetpost] => 1 [msgid] => [ref] => [htmlstate] => on_nl2br [postusername] => Murray *TMM* [ip] => forums@HAHAgrea [isdeleted] => 0 [usergroupid] => [membergroupids] => [displaygroupid] => [password] => [passworddate] => [email] => [styleid] => [parentemail] => [homepage] => [icq] => [aim] => [yahoo] => [msn] => [skype] => [showvbcode] => [showbirthday] => [usertitle] => [customtitle] => [joindate] => [daysprune] => [lastvisit] => [lastactivity] => [lastpost] => [lastpostid] => [posts] => [reputation] => [reputationlevelid] => [timezoneoffset] => [pmpopup] => [avatarid] => [avatarrevision] => [profilepicrevision] => [sigpicrevision] => [options] => [akvbghsfs_optionsfield] => [birthday] => [birthday_search] => [maxposts] => [startofweek] => [referrerid] => [languageid] => [emailstamp] => [threadedmode] => [autosubscribe] => [pmtotal] => [pmunread] => [salt] => [ipoints] => [infractions] => [warnings] => [infractiongroupids] => [infractiongroupid] => [adminoptions] => [profilevisits] => [friendcount] => [friendreqcount] => [vmunreadcount] => [vmmoderatedcount] => [socgroupinvitecount] => [socgroupreqcount] => [pcunreadcount] => [pcmoderatedcount] => [gmmoderatedcount] => [assetposthash] => [fbuserid] => [fbjoindate] => [fbname] => [logintype] => [fbaccesstoken] => [newrepcount] => [vbseo_likes_in] => [vbseo_likes_out] => [vbseo_likes_unread] => [temp] => [field1] => [field2] => [field3] => [field4] => [field5] => [subfolders] => [pmfolders] => [buddylist] => [ignorelist] => [signature] => [searchprefs] => [rank] => [icontitle] => [iconpath] => [avatarpath] => [hascustomavatar] => 0 [avatardateline] => [avwidth] => [avheight] => [edit_userid] => [edit_username] => [edit_dateline] => [edit_reason] => [hashistory] => [pagetext_html] => [hasimages] => [signatureparsed] => [sighasimages] => [sigpic] => [sigpicdateline] => [sigpicwidth] => [sigpicheight] => [postcount] => 6 [islastshown] => [isfirstshown] => [attachments] => [allattachments] => ) -->Title of Document to this - Title of Document (it appears that this editable region MUST be named doctitle!) 2. Change this - Document head to this - Having bare text in the head area could be causing problems. I think your error message will disappear now. -- Murray --- ICQ 71997575 Team Macromedia Volunteer for Dreamweaver MX (If you *MUST* email me, don't LAUGH when you do so!) ================== [url]news://forums.macromedia.com/macromedia.dreamweaver[/url] - THE BEST WAY TO GET ANSWERS ================== [url]http://www.dreamweavermx-templates.com[/url] - Template Triage! [url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources [url]http://www.DreamweaverFAQ.com[/url] - DW FAQs, Tutorials & Resources [url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes ================== "MontyRules" wrote in message news:beonpm$ssh$1@forums.macromedia.com...[quote] > Yes Murray it does that. (Most websites won't allow you to directly access[/quote] a folder) But I did provide the file name. If you type the filename into the folder URL you'll get the actual file and can then read the source.[quote] > >[/quote] [allowsmilie] => 1 [showsignature] => 0 [ipaddress] => [iconid] => 0 [visible] => 1 [attach] => 0 [infraction] => 0 [reportthreadid] => 0 [isusenetpost] => 1 [msgid] => [ref] => [htmlstate] => on_nl2br [postusername] => Murray *TMM* [ip] => forums@HAHAgrea [isdeleted] => 0 [usergroupid] => [membergroupids] => [displaygroupid] => [password] => [passworddate] => [email] => [styleid] => [parentemail] => [homepage] => [icq] => [aim] => [yahoo] => [msn] => [skype] => [showvbcode] => [showbirthday] => [usertitle] => [customtitle] => [joindate] => [daysprune] => [lastvisit] => [lastactivity] => [lastpost] => [lastpostid] => [posts] => [reputation] => [reputationlevelid] => [timezoneoffset] => [pmpopup] => [avatarid] => [avatarrevision] => [profilepicrevision] => [sigpicrevision] => [options] => [akvbghsfs_optionsfield] => [birthday] => [birthday_search] => [maxposts] => [startofweek] => [referrerid] => [languageid] => [emailstamp] => [threadedmode] => [autosubscribe] => [pmtotal] => [pmunread] => [salt] => [ipoints] => [infractions] => [warnings] => [infractiongroupids] => [infractiongroupid] => [adminoptions] => [profilevisits] => [friendcount] => [friendreqcount] => [vmunreadcount] => [vmmoderatedcount] => [socgroupinvitecount] => [socgroupreqcount] => [pcunreadcount] => [pcmoderatedcount] => [gmmoderatedcount] => [assetposthash] => [fbuserid] => [fbjoindate] => [fbname] => [logintype] => [fbaccesstoken] => [newrepcount] => [vbseo_likes_in] => [vbseo_likes_out] => [vbseo_likes_unread] => [temp] => [field1] => [field2] => [field3] => [field4] => [field5] => [subfolders] => [pmfolders] => [buddylist] => [ignorelist] => [signature] => [searchprefs] => [rank] => [icontitle] => [iconpath] => [avatarpath] => [hascustomavatar] => 0 [avatardateline] => [avwidth] => [avheight] => [edit_userid] => [edit_username] => [edit_dateline] => [edit_reason] => [hashistory] => [pagetext_html] => [hasimages] => [signatureparsed] => [sighasimages] => [sigpic] => [sigpicdateline] => [sigpicwidth] => [sigpicheight] => [postcount] => 14 [islastshown] => [isfirstshown] => [attachments] => [allattachments] => ) --> Error from Hell: Locked by a template or translator!!! - Macromedia Dreamweaver

Error from Hell: Locked by a template or translator!!! - Macromedia Dreamweaver

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 doent 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" <polaatxREMOVE.> wrote in message news:beimes$pm$2forums.macromedia.com... > I swear to you, sometimes I am editing INSIDE the editable region of ...

  1. #1

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

    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 doent 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" <polaatxREMOVE.> wrote in message
    news:beimes$pm$2forums.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
    >
    >

    jason kennedy Guest

  2. #2

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

    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.


    MontyRules webforumsuser@macromedia.com Guest

  3. #3

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

    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!)
    ==================
    [url]news://forums.macromedia.com/macromedia.dreamweaver[/url] - THE BEST WAY TO GET
    ANSWERS
    ==================
    [url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
    [url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.DreamweaverFAQ.com[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
    ==================

    "jason kennedy" <jasonNOSPAMpinhut.com> wrote in message
    news:beippt$47l$1forums.macromedia.com...
    > 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 doent 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" <polaatxREMOVE.> wrote in message
    > news:beimes$pm$2forums.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
    > >
    > >
    >
    >

    Murray *TMM* Guest

  4. #4

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

    Crispy:

    See my reply to Jason. I would need to look at the code on your page, and
    to know what you are trying to change to tell you why you are getting this
    error.

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

    "Crispy" <polaatxREMOVE.> wrote in message
    news:beimes$pm$2forums.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
    >
    >

    Murray *TMM* Guest

  5. #5

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

    Here's the code from one of the pages created from the template. Do you need to see the actual template code as well?

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <HTML><!-- InstanceBegin template="/Templates/blank New Template.dwt" codeOutsideHTMLIsLocked="false" -->
    <HEAD><!-- InstanceBeginEditable name="title" --><TITLE>The Title of the Article</TITLE><!-- InstanceEndEditable -->
    <!-- InstanceBeginEditable name="Doent head" --><META name="description" content="This is where I put the description of the file etc etc">
    <META name="Keywords" content="my boringly long list of keywords here ">
    <META name="Author" content="Me"><!-- InstanceEndEditable -->

    I have altered the actual title and other content here, for the sake of brevity. Underneath this is the non-editable region of menus, followed by the text part of the doent which I can edit normally.

    Does this help?



    MontyRules webforumsuser@macromedia.com Guest

  6. #6

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

    Monty:

    No - I need to see the whole page, and I need to know what you changed to
    trigger the error.

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

    "MontyRules" <webforumsusermacromedia.com> wrote in message
    news:bekoob$pob$1forums.macromedia.com...
    > Here's the code from one of the pages created from the template. Do you
    need to see the actual template code as well?
    >
    > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    > <HTML><!-- InstanceBegin template="/Templates/blank New Template.dwt"
    codeOutsideHTMLIsLocked="false" -->
    > <HEAD><!-- InstanceBeginEditable name="title" --><TITLE>The Title of the
    Article</TITLE><!-- InstanceEndEditable -->
    > <!-- InstanceBeginEditable name="Doent head" --><META
    name="description" content="This is where I put the description of the file
    etc etc">
    > <META name="Keywords" content="my boringly long list of keywords here ">
    > <META name="Author" content="Me"><!-- InstanceEndEditable -->
    >
    > I have altered the actual title and other content here, for the sake of
    brevity. Underneath this is the non-editable region of menus, followed by
    the text part of the doent which I can edit normally.
    >
    > Does this help?
    >
    >

    Murray *TMM* Guest

  7. #7

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

    Hi Murray,
    The best thing is for me to send you my template so you can reproduce the error. The attachments box doesn't allow me to do that (is it disabled for this forum, or can I have it switched on somehow?) If no attachments are allowed, I can give you an URL so you can collect a copy yourself. okay?

    The error can be reproduced by creating a new page from the template, then typing text into the title section, to replace the dummy title.

    On existing the code section or trying to save the file, the error message is given as follows:

    "You have made changes to code that is not marked as editable. If you retain those changes they will be lost next time you apply an update to this file. Do you want to retain the changes until then? YES|NO"

    Obviously I say Yes, but sure enough when I reapply the template all my titles are wiped out, and any other such changes. I've had the error message for other sections but I honestly can't remember which. But all my changes were in editable regions.


    MontyRules webforumsuser@macromedia.com Guest

  8. #8

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

    Monty:
    > If no attachments are allowed, I can give you an URL so you can collect a
    copy yourself. okay?

    Yes - that's the very best way.
    > The error can be reproduced by creating a new page from the template, then
    typing text into the title section, to replace the dummy title.

    Ahh - well in this case, just copy the head section of the doent and
    paste it into a reply. I don't need to see any of the javascript code, just
    the <title> tag and its context. So copy from the top of the file to
    several lines below the <title> tag.
    > and any other such changes.
    Where were these changes made?

    Maybe you'd better post the URI anyhow.

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

    "MontyRules" <webforumsusermacromedia.com> wrote in message
    news:bem1am$jp0$1forums.macromedia.com...
    > Hi Murray,
    > The best thing is for me to send you my template so you can reproduce the
    error. The attachments box doesn't allow me to do that (is it disabled for
    this forum, or can I have it switched on somehow?) If no attachments are
    allowed, I can give you an URL so you can collect a copy yourself. okay?
    >
    > The error can be reproduced by creating a new page from the template, then
    typing text into the title section, to replace the dummy title.
    >
    > On existing the code section or trying to save the file, the error message
    is given as follows:
    >
    > "You have made changes to code that is not marked as editable. If you
    retain those changes they will be lost next time you apply an update to this
    file. Do you want to retain the changes until then? YES|NO"
    >
    > Obviously I say Yes, but sure enough when I reapply the template all my
    titles are wiped out, and any other such changes. I've had the error message
    for other sections but I honestly can't remember which. But all my changes
    were in editable regions.
    >
    >

    Murray *TMM* Guest

  9. #9

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

    Murray,
    I did that already - please see my post earlier in this thread.
    Cheers.


    MontyRules webforumsuser@macromedia.com Guest

  10. #10

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

    Monty:

    OK - I see it now. Hmm - there is no problem with that code, so I guess I
    need to see the whole page.

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

    "MontyRules" <webforumsusermacromedia.com> wrote in message
    news:bemcbv$9lk$1forums.macromedia.com...
    > Murray,
    > I did that already - please see my post earlier in this thread.
    > Cheers.
    >
    >

    Murray *TMM* Guest

  11. #11

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

    Here is the URL where you can grab a copy of the template: [url]http://www.banner.org.uk/templates/[/url] it's called "blank New Template.dwt"

    As I said earlier, you should be able to reproduce the error by creating a new file from this template and then altering the title text, and saving it.



    Referring URLs
    [url]http://www.banner.org.uk/templates/[/url]




    MontyRules webforumsuser@macromedia.com Guest

  12. #12

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

    Monty:

    Forbidden
    You don't have permission to access /templates/ on this server.

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

    "MontyRules" <webforumsusermacromedia.com> wrote in message
    news:bemj8m$ocu$1forums.macromedia.com...
    > Here is the URL where you can grab a copy of the template:
    [url]http://www.banner.org.uk/templates/[/url] it's called "blank New Template.dwt"
    >
    > As I said earlier, you should be able to reproduce the error by creating a
    new file from this template and then altering the title text, and saving it.
    >
    >
    >
    > Referring URLs
    > [url]http://www.banner.org.uk/templates/[/url]
    >
    >
    >
    >

    Murray *TMM* Guest

  13. #13

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

    Yes Murray it does that. (Most websites won't allow you to directly access a folder) But I did provide the file name. If you type the filename into the folder URL you'll get the actual file and can then read the source.



    MontyRules webforumsuser@macromedia.com Guest

  14. #14

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

    Monty:

    You can allow anonymous browsing into directories on most websites.

    If you want me to do something like that, you have to tell me to do so.
    There is no indication here that this would be the procedure -
    > Here is the URL where you can grab a copy of the template:
    [url]http://www.banner.org.uk/templates/[/url] it's called "blank New Template.dwt"

    You could have just posted [url]http://www.banner.org.uk/templates/blank[/url] New
    Template.dwt, no?

    Anyhow, here are the changes to make to your page -

    1. Change this -

    <!-- TemplateBeginEditable name="title" --><title>Title of
    Doent</title><!-- TemplateEndEditable -->

    to this -

    <!-- TemplateBeginEditable name="doctitle" --><title>Title of
    Doent</title><!-- TemplateEndEditable -->

    (it appears that this editable region MUST be named doctitle!)

    2. Change this -

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

    to this -

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

    Having bare text in the head area could be causing problems.

    I think your error message will disappear now.

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

    "MontyRules" <webforumsusermacromedia.com> wrote in message
    news:beonpm$ssh$1forums.macromedia.com...
    > Yes Murray it does that. (Most websites won't allow you to directly access
    a folder) But I did provide the file name. If you type the filename into the
    folder URL you'll get the actual file and can then read the source.
    >
    >

    Murray *TMM* Guest

  15. #15

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

    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 doents 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 doents 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.


    MontyRules webforumsuser@macromedia.com Guest

  16. #16

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

    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.
    > I have noticed that, if I open doents 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 doents 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.
    > 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!)
    ==================
    [url]news://forums.macromedia.com/macromedia.dreamweaver[/url] - THE BEST WAY TO GET
    ANSWERS
    ==================
    [url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
    [url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.DreamweaverFAQ.com[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
    ==================

    "MontyRules" <webforumsusermacromedia.com> wrote in message
    news:ber9no$qvj$1forums.macromedia.com...
    > 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 doents 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 doents 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.
    >
    >

    Murray *TMM* Guest

  17. #17

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

    >>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 doent, 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?

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



    MontyRules webforumsuser@macromedia.com Guest

  18. #18

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

    Monty:

    DMX puts an editable region into the head of the doent 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 doent 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!)
    ==================
    [url]news://forums.macromedia.com/macromedia.dreamweaver[/url] - THE BEST WAY TO GET
    ANSWERS
    ==================
    [url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
    [url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.DreamweaverFAQ.com[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
    ==================

    "MontyRules" <webforumsusermacromedia.com> wrote in message
    news:bertfv$hs9$1forums.macromedia.com...
    > >>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 doent, 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?
    >
    > I feel sure you can't mean that, exactly, because how would anyone alter
    their meta tags? Could you explain a bit more? Thanks.
    >
    >
    >

    Murray *TMM* Guest

Similar Threads

  1. translator not loaded error
    By Firepoet27 in forum Macromedia Contribute General Discussion
    Replies: 4
    Last Post: May 2nd, 11:29 AM
  2. Cannot install Flash Video. Template Locked
    By keyk in forum Macromedia Dynamic HTML
    Replies: 3
    Last Post: August 10th, 12:27 PM
  3. what the hell is this unspecified error???????
    By shashank bhide via .NET 247 in forum ASP.NET Data Grid Control
    Replies: 1
    Last Post: May 15th, 12:02 PM
  4. Replies: 0
    Last Post: July 27th, 09:34 AM
  5. "locked by a template or a translator"
    By default in forum Macromedia Dreamweaver
    Replies: 0
    Last Post: July 11th, 07:35 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •