Locked by a template

Status
Niet open voor verdere reacties.

Biggie2

Nieuwe gebruiker
Lid geworden
12 mei 2011
Berichten
2
Hallo allemaal,

Forum berichtje in het Engels, wat ik al elders plaatste zonder reacties. Hopelijk op dit forum meer succes!

I've been searching for a solution to a "...locked by a template..." error for 5 days now.

The problem :
I cannot edit ANY editable region i created in any child page. Not even the automatically made <title> </title> tag in de Head.

I use Dreamweaver MX 6.0

Searching for solution :
I have googled and searched many forums. I checked & doublechecked these solutions i have found that migth explain or solve this :
- Check W3C validation. I have XHTML 1.0 strict and had to place some /> in stead of >, but other than that passed with 1 warning.
- Check if there is a <!-- TemplateBeginEditable name="head" --><!-- TemplateEndEditable --> ... yes it got generated automatically
- Title is made editable too automatically
- I placed a Javascript I had in a external file and linked it : <script type="text/javascript" src="../sources/slide.js"></script>
- I tried putting any linked files in Head between the <!-- TemplateBeginEditable name="head" --><!-- TemplateEndEditable --> bit

I am out of idea's and I still can't get passes the "...locked by a template error ...". So please help me find a way to a solution!

Online I put some files as reference :

1. The file I used as the basis for my template. The page should be W3C validated :

http://www.railzminiworld.com/testsite/templatebasis.htm

2. The template I created from this (save templatebasis.htm as template ...)

http://www.railzminiworld.com/testsite/Templates/rmwlayout6.dwt

3. The template I created from this with CSS an JS files between <!-- TemplateBeginEditable name="head" --><!-- TemplateEndEditable -->

http://www.railzminiworld.com/testsite/Templates/rmwlayout6.dwt

4. 2 child pages I made from templates file under 2. and 3. I can't even edit the <title> </title> and didnt see any need to put another editable region in it, since this didn't work either in previous attempts.

http://www.railzminiworld.com/testsite/Untitled-8.htm
http://www.railzminiworld.com/testsite/Untitled-9.htm

It must be something really basic I am missing here?!

And while I am here a few additional questions :

- How do I put in a editable region around <meta name="Description" content="" />? I tried to add editable region as <title> , but i automatically puts the editable region somewhere in the <body>. I tried "Make attribute editable..." and this seems to make a editbale region in the bottom of <head>. However can't edit it (yet). Probable to to with the problem above.

- I work in codeview. Is it allowed to move editable regions just by editing the code? I've read on another forum that you should never move a editable region yourself from the location that dreamweaver put it. Is this true?

Thanks for your help in advance!
Guus
 
Hoi Guus,
Ik ben geen Dreamweaver-expert (heb ook geen DW), maar signaleer dat het aangeroepen bestand www.railzminiworld.com/testsite/sources/slide.js niet bestaat. Dit komt uit op de 404-pagina (die overigens nog flinke restanten heeft van een parkeer-pagina voor een nog niet werkende site). Gaat het misschien de mist in omdat DW deze html-pagina beschouwt als javascript?

- How do I put in a editable region around <meta name="Description" content="" />
Ik denk dat je je dwt-template moet openen, en dan daarin de description-meta (en de keywords-meta) verplaatsen naar tussen:
HTML:
<!-- TemplateBeginEditable name="head" --><!-- TemplateEndEditable -->
Want deze editable region is er al, maar wordt niet gebruikt.

- I work in codeview. Is it allowed to move editable regions just by editing the code?
Volgens mij wel, maar alléén als je een dwt-template zelf onderhanden hebt, en niet een gewone pagina op basis van het template.

Maar waarom de "...locked by a template..." error plaatsvindt, je hamvraag, weet ik niet. Gokje: zou het kunnen zijn dat je zowel een pagina als het template open hebt staan, en dat de pagina niets kan doen als er het onderliggend template ook geopend is?

Met vriendelijke groet,
CSShunter
 
Bedankt voor je reactie. Ik heb er nog eens diep naar gekeken. Naar de hamvraag dus. Het ligt blijkbaar aan mijn oude versie van dreamweaver. Inmiddels CS5 geregeld. En hier is het editten van childpages van deze template geen enkel probleem.

De metatags voor description en content in de editabel region head zetten werkt ook prima. Een paar extra editable regions aangemaakt voor content en dit werkt ook prima.

bedankt voor de hulp en hints

Guus!
 
Status
Niet open voor verdere reacties.
Terug
Bovenaan Onderaan