Forum Moderators: open

Message Too Old, No Replies

Locking HTML in Dreamweaver

         

pianodevil

3:50 pm on Oct 4, 2005 (gmt 0)

10+ Year Member



How do i lock html?

There have been occasions where i've saved a site to my hdd and opened it up on dreamweaver and found that i cannot do anything to it - there is some kind of lock

i know its completely useless, all you need to do is open it up in notepad and "unlock" it, but its something fun to do.

i've lost all my examples of the lock. can anyone tell me how to do it to my html pages?

topr8

3:55 pm on Oct 4, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



i think you might have just saved the files with read only permissions, rather than write permissions?

Jon_King

4:00 pm on Oct 4, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You have code like this:

<!-- InstanceBegin template="/Templates/pages.dwt" codeOutsideHTMLIsLocked="false" -->

Page html goes here....

<!-- InstanceEnd -->

Remove the tags manually starting with the closing tag, or choose 'Detach from Template' in the DW menu to remove. Or you can add them by 'Apply Template' to 'lock' in DW.

[edited by: Jon_King at 4:03 pm (utc) on Oct. 4, 2005]

kaled

4:02 pm on Oct 4, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Sounds like you need to strip the template code. I've never done this, but Dreamweaver includes a menu option to do this.

Kaled.

pianodevil

4:06 pm on Oct 4, 2005 (gmt 0)

10+ Year Member



Yep, Jon_King, dats it!