There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
 
Web Design & Development
Tag Cloud
adware audio bios blue screen boot bsod computer connection crash dell desktop driver email error excel firefox freeze google hard drive hardware hijackthis install internet laptop linux malware network no sound outlook problem recovery router screen server slow sound speakers spyware startup trojan usb video virus vista webcam windows windows 7 windows vista windows xp wireless
Search
Search for:
Tech Support Guy Forums > Internet & Networking > Web Design & Development >
Dreamweaver 8 + Non-Editable Regions

Tip: Click here to scan for System Errors and Optimize PC performance
[ Sponsored Link ]

Closed Thread
 
Thread Tools
erick295's Avatar
Distinguished Member with 2,162 posts.
 
Join Date: Mar 2005
Location: Atlanta, GA
Experience: Advanced
27-Mar-2006, 06:52 PM #1
Dreamweaver 8 + Non-Editable Regions
In code view, how do I disable the protection of non-editable regions of an XHTML document? I'm sure it's something really simple, but I've looked around and haven't been able to find anything. I want to leave the non-editable regions in there for the CMS I'm using, but I need to be able to modify them.
haswalt's Avatar
Computer Specs
Senior Member with 414 posts.
 
Join Date: Nov 2004
Location: South Coast, UK
Experience: Advanced
28-Mar-2006, 06:11 AM #2
is this if you are using templating? ie saving it as a template file and then editing onyl the regions set? well i think if you select it you can either delete it or rightclick and select something like make-editable. maybe im not sure.

Harry
Rockn's Avatar
Computer Specs
Distinguished Member with 17,880 posts.
 
Join Date: Jul 2001
Location: Mexico of the North, MN
Experience: Disenfranchised American Male
28-Mar-2006, 08:13 AM #3
If the page is based on a template you can change the template or change it outside of the template. Click the non editable region, go to Modify > Templates > Detach from Template.
erick295's Avatar
Distinguished Member with 2,162 posts.
 
Join Date: Mar 2005
Location: Atlanta, GA
Experience: Advanced
29-Mar-2006, 10:27 AM #4
It's not a template, it's just an HTML document. If I just type <!-- #EndEditable in a blank document, I can't type anything anymore (not even the comment's closing bracket). It's weird.
Rockn's Avatar
Computer Specs
Distinguished Member with 17,880 posts.
 
Join Date: Jul 2001
Location: Mexico of the North, MN
Experience: Disenfranchised American Male
29-Mar-2006, 03:09 PM #5
Why would you put the tags in in the first place manually? DW will not allow you to add editable regions without creating a template first. You need to insert editable regions from the Insert >Template Objects > Editable Region. If you just put in a closing tag it will lock the document because DW is looking for the opening tag as well.
Attached Thumbnails
Dreamweaver 8 + Non-Editable Regions-editable.jpg   Dreamweaver 8 + Non-Editable Regions-editable2.jpg  
__________________
**Disclaimer** Anything below this line ^ is part of my signature for those that may be confused

Sadly, there are no integers on this scale, so your gangly adolescent attempt to be clever has proved futile....Dieter

I have the right "NOT" to be tolerant of others because they are different, weird, or tick me off.....Parody of Andy Rooney

There are no stupid questions, but there are a LOT of inquisitive idiots.
erick295's Avatar
Distinguished Member with 2,162 posts.
 
Join Date: Mar 2005
Location: Atlanta, GA
Experience: Advanced
29-Mar-2006, 11:51 PM #6
I'm not trying to do anything with Dreamweaver, I'm just writing an HTML document to be used with an online CMS. I want to stop Dreamweaver from locking parts of the document so I can use it to write the code.
haswalt's Avatar
Computer Specs
Senior Member with 414 posts.
 
Join Date: Nov 2004
Location: South Coast, UK
Experience: Advanced
30-Mar-2006, 02:31 AM #7
without you first opening a template with dreamweaver or creating editable/non-editable regions dreamweaver will not lock parts of the page, it does not automatically do it. could you please post the page you are having a problem with here, so we can see whether dreamweaver is reading something off the page.


Harry
__________________
LQD Internet Limited
We've just got better! With the launch of our new site we have SLASHED our prices and upped the offering. Check it out!

10% Discount for ALL Tech Support Guy Members
Simply use the promo code of "T3CHGUY" when ordering to recieve your 10% discount on all shared and reseller hosting packages.
erick295's Avatar
Distinguished Member with 2,162 posts.
 
Join Date: Mar 2005
Location: Atlanta, GA
Experience: Advanced
30-Mar-2006, 03:00 PM #8
All I have to do is start a blank HTML page (no templates) and type this:

Code:
<!-- #BeginEditable -->
<!-- #EndEditable
And that's it, I can't type anymore. I can't even finish the #EndEditable comment!
haswalt's Avatar
Computer Specs
Senior Member with 414 posts.
 
Join Date: Nov 2004
Location: South Coast, UK
Experience: Advanced
30-Mar-2006, 03:02 PM #9
why do you type that in?

that is what dreamweaver sees for locked areas, don't type that then.

Harry
erick295's Avatar
Distinguished Member with 2,162 posts.
 
Join Date: Mar 2005
Location: Atlanta, GA
Experience: Advanced
30-Mar-2006, 05:23 PM #10
Quote:
Originally Posted by haswalt
why do you type that in?
It's for a CMS...
Rockn's Avatar
Computer Specs
Distinguished Member with 17,880 posts.
 
Join Date: Jul 2001
Location: Mexico of the North, MN
Experience: Disenfranchised American Male
31-Mar-2006, 01:37 PM #11
Dreamweaver will only allow you to use editable regions that are based on templates PERIOD!! Create a template and you can create HTML pages with those editable regions as part of the page.
erick295's Avatar
Distinguished Member with 2,162 posts.
 
Join Date: Mar 2005
Location: Atlanta, GA
Experience: Advanced
31-Mar-2006, 07:10 PM #12
I'm not sure you guys are understanding my problem here. I'm not doing anything with templates - I'm trying to create a single HTML document. The CMS I'm using needs the #BeginEditable and #EndEditable comments, but once I type the comments to create one of those editable regions, Dreamweaver is locking the rest of my document. I don't want it to do that. Is there a way I can stop this from happening so I don't have to use Notepad?
Rockn's Avatar
Computer Specs
Distinguished Member with 17,880 posts.
 
Join Date: Jul 2001
Location: Mexico of the North, MN
Experience: Disenfranchised American Male
01-Apr-2006, 07:29 PM #13
THe BeginEditable and EndEditable are based on DW4 and will lock the page if you are working in DW MX or later. Use these tags instead:
<!-- TemplateBeginEditable name="regionname here" -->
Editable stuff here
<!-- TemplateEndEditable -->
erick295's Avatar
Distinguished Member with 2,162 posts.
 
Join Date: Mar 2005
Location: Atlanta, GA
Experience: Advanced
02-Apr-2006, 03:30 PM #14
Quote:
Originally Posted by Rockn
THe BeginEditable and EndEditable are based on DW4 and will lock the page if you are working in DW MX or later.
So is there any way to stop this from happening besides changing the syntax?
Rockn's Avatar
Computer Specs
Distinguished Member with 17,880 posts.
 
Join Date: Jul 2001
Location: Mexico of the North, MN
Experience: Disenfranchised American Male
03-Apr-2006, 10:50 AM #15
No! Other than using notepad or other editor.
Closed Thread Bookmark and Share

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Smart Search

Find your solution!



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.

Thread Tools


You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -5. The time now is 06:06 PM.
Copyright © 1996 - 2009 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2009, Jelsoft Enterprises Ltd.
Powered by Cermak Technologies, Inc.