p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Beginning Dreamweaver MX/MX 2004 MX ISBN: 978-0-7645-4404-0; MX 2004 ISBN: 978-0-7645-5524-4
This is the forum to discuss the Wrox book Beginning Dreamweaver MX by Charles E. Brown, Imar Spaanjaars, Todd Marks; ISBN: 9780764544040
Please indicate which version of the book you are using when posting questions.

Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning Dreamweaver MX/MX 2004 MX ISBN: 978-0-7645-4404-0; MX 2004 ISBN: 978-0-7645-5524-4 section of the Wrox p2p Programmer to Programmer discussion community. This is a community of more than 40,000 computer programmers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining our free Wrox p2p community you can post your own programming questions and respond to other programmers’ questions. Registered users also don't have to see the ads that are displayed to guests. Registration is fast, simple and absolutely free so please, join today!
Join today and post to win prizes! Post more to increase your chances of being Wrox’s top poster of the month.

Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old July 26th, 2004, 03:46 PM
Registered User
Points: 13, Level: 1
Points: 13, Level: 1 Points: 13, Level: 1 Points: 13, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jul 2004
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Beg D MX2004- Chapter 11, 12 and 13

In chapter 11 p 410 readers are alerted to the problem that when you make changes by using Dreamweaver's server behaviours in ASP pages you might get the error message that.. You have made changes to code that is not marked as editable. If you ........ until then? Yes /No

Authors advise that this error message is wrong and hopefully the problem will be fixed in a future service release of Dreamweaver.
However this message and loss of changes occurs frequently as you progress thru' Chapters 11 on. In addition another error message when using server behaviours in ASP pages also pops up frequently with the message.

Making this change would require changing code that is locked in a template or translator. The change will be discarded

The result is all your changes as the message states vanish. Saving and closing then re-opening files after each minor change in anticipation that you are going to get the discard message does not solve the problem- as even if you do this the problem still occurs. As the authors already note the modifications trying to be made are in regions of the template that you are allowed to edit.

Would find it difficult to believe that I am alone with this problem- anyone any advice please?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
  #2 (permalink)  
Old July 26th, 2004, 04:03 PM
Imar's Avatar
Wrox Author
Points: 33,533, Level: 80
Points: 33,533, Level: 80 Points: 33,533, Level: 80 Points: 33,533, Level: 80
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 10,225
Thanks: 7
Thanked 202 Times in 200 Posts
Default

Hi Hothers,

Like I said in the book, this is a very disturbing problem with Dreamweaver MX. At times, it makes it almost impossible to apply the required behaviors. Often the only way to get it to work correctly, is to know in advance exactly what you need to do, and create the page in one single action, not opening any of the SB dialogs more than once.
However, when developing things, this is of course not a very good solution.

Did you upgrade your version of Dreamweaver to 7.01? The service releases fixes a lot of, but not all, problems in this area.

Frustrating as it might be: you can be assured you're not alone.... ;)

Cheers,

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
While typing this post, I was listening to: Here In My Room by Incubus (Track 13 from the album: A Crow Left To The Murder) What's This?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
  #3 (permalink)  
Old July 26th, 2004, 04:33 PM
Registered User
Points: 13, Level: 1
Points: 13, Level: 1 Points: 13, Level: 1 Points: 13, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jul 2004
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Imar
Thanks for the quick response. Yes I have updated to 7.01 but as you know the problem is still there. As you say though not much we can do at the moment - though it is very annoying to keep losing the changes you have made. Thanks again for the info.
Regards
Hothers
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
  #4 (permalink)  
Old July 26th, 2004, 04:38 PM
Imar's Avatar
Wrox Author
Points: 33,533, Level: 80
Points: 33,533, Level: 80 Points: 33,533, Level: 80 Points: 33,533, Level: 80
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 10,225
Thanks: 7
Thanked 202 Times in 200 Posts
Default

Yeah, it's a pain.

If I had to choose between the Server Behaviors or the Template feature, I think I would drop templates. In bigger Web sites, using include files for a generic look and feel may be a better solution anyway, so if you drop templates in favor of includes, you may get things to work again.

It's a pity, as the idea behind the templates feature is really great....

Cheers,

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
  #5 (permalink)  
Old December 2nd, 2005, 07:25 AM
Registered User
 
Join Date: Dec 2005
Location: Dublin, , Ireland.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Gurrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr rrr

“Making this change would require changing code that is locked by a template or a translator. The change will be discarded.”

Right being extremely annoyed at this problem I done what I usually do and got really frustrated and kept playing with the saving combinations so I could preview my site.

And I think I may have a sort of solution

Go back to your template and validate your code make sure it is working there first. Save all changes and update offspring files. If it will not allow you to change the code........
Copy and past into a new document
Save as html
Validate this
And save over your template thus recreating it
*make sure you have a copy of the code somewhere*

Check your files now it sometime works at this stage.

For the especially stubberin versions of DW you may need to do the same with the offspring files as well. A process which will make taking a sick day very promising.

Can anybody please tell me if this error has been fixed in the new DW 8 as I was considering upgrading?

ilikecake
www.ilikecake.net


www.ilikecake.net
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
  #6 (permalink)  
Old December 4th, 2005, 07:08 AM
Imar's Avatar
Wrox Author
Points: 33,533, Level: 80
Points: 33,533, Level: 80 Points: 33,533, Level: 80 Points: 33,533, Level: 80
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 10,225
Thanks: 7
Thanked 202 Times in 200 Posts
Default

Hi there,

Some of the problems with templates and server behaviors have been fixed in DW 8, but not all of them.

Probably the best thing to do is download a trial version and see for yourself. Many of the other improvements in DW 8 make it a worthwhile upgrade....

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
While typing this post, I was listening to: Ronnie Gaat Naar Huis by Spinvis (Track 5 from the album: Spinvis) What's This?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
  #7 (permalink)  
Old March 31st, 2006, 04:00 PM
Authorized User
 
Join Date: Jan 2006
Location: , , .
Posts: 58
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I am now in the same boat on this. I have a region that is editable and does not allow me to make my change. Very disturbing grrrrr. I will try another include file

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
  #8 (permalink)  
Old September 2nd, 2006, 03:37 PM
Registered User
 
Join Date: Sep 2006
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

When you create the template, do you leave the text 'EditRegion1' in?
Try removing it in the template

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
  #9 (permalink)  
Old October 24th, 2006, 10:12 AM
Registered User
 
Join Date: Oct 2006
Location: Manchester, , United Kingdom.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Version 8 still has the problem and as far as I can see has little to recommend it.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
  #10 (permalink)  
Old January 2nd, 2007, 07:18 PM
PHD PHD is offline
Registered User
 
Join Date: Jan 2007
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I've experienced the same problem not being able to edit the code of my documents based on templates using Dreamweaver 8(Mac). I have tried the various recommended fixes without success. I figured that something specific must have changed, because I've used templates successfully in the past with dreamweaver MX 2004. The first thing I tried was to just 'detach' the document from the template and was able to edit the code. Ok, that was not really a solution, but at least I was able to make the code modifications I needed. So, back to trying other things.

I then noticed that I was able to make modifications in the 'design' view, but not in code view. I could copy elements from another page in design view and paste them into the template-based document, and not get the uneditable region error. I could also make modifications in the preferences panel without inducing the error. But, I still needed to be able to edit the code directly. One other thing I noticed was that when I did edit the code directly in code view, and then induced the error, after cancelling the error, when I tried to select some of the code in code view, there seems to be a bug that is highlighting the wrong portion of the text. So it seems that Dreamweaver might having a problem identifying what portion of the code is within the editable region, and what isn't. Finally I just started altering anything within Dreamweaver that might be having some effect on how things are displayed in each view. The first thing I tried was to turn off the display of CSS styles: "View > Style Rendering > Display Styles". I tried editing the code, and voilà, it worked! I turn of CSS styles, edit the code, turn styles back on, and no error.

My conclusion is that Dreamweaver has a bug somewhere relating to the displaying of CSS styles. It's a little bit of a pain to toggle back and forth. But it works for now. If anyone comes up with any other permanent fixes, I'd appreciate the info.

PeterD
info@integralww.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
chapter 11 figure 11-7 relative positioning pelopito BOOK: Beginning CSS: Cascading Style Sheets for Web Design ISBN: 978-0-7645-7642-3 2 November 29th, 2007 06:11 AM
Chapter 11/12 Admin Login's msnodgrass BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 0 September 23rd, 2006 10:45 PM
Beg. Javascript 2nd Ed Ch 13: IE_NN_Menus.htm mcange HTML Code Clinic 0 March 15th, 2005 05:54 PM
Chapter 13, can't do 1st example beg. page 481 mjoh44 JSP Basics 2 August 16th, 2004 10:51 AM
Table join problem Chapter 12, p 436 PHP-Beg tomasz BOOK: Beginning PHP4/PHP 5 ISBN: 978-0-7645-4364-7; v5 ISBN: 978-0-7645-5783-5 2 August 31st, 2003 01:56 PM



All times are GMT -4. The time now is 11:18 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
© 2008 Wiley Publishing, Inc