Solved

Need advice regarding "nested editable regions" error apparently associated with nav bar library item

Posted on 2003-12-04
3
206 Views
Last Modified: 2010-04-25
I'm working on a learning topic web project for a graduate course. I'm not a programmer, so when the semi-automated features of DW glitch, my code anlalysis skills are limited. I'm using a DW MX 2004 master template (no sub-templates yet). I created a navigation bar using the DW Insert > Image Objects > Navigation Bar menu selection. The template worked very well until, after having worked with it a couple of days, edited the nav bar (which I had added to the Library). I added a new button (with rollover images, like the other buttons). After doing this, I was unable to update the change to pages based on the template. I am also unable to save the template. Removing the new button from nav bar item does not fix the problem. Unfortunately, I had already saved the the change to the existing nav bar item, so I can't re-apply the previous nav bar.

The error window reads, "There is an error at line 99, column 604 (absolute position 5393) of <the file path to the template file>: Nested editable regions."

The line of code reads: <!-- #BeginLibraryItem "/Library/navbar1.lbi" --><body onLoad="MM_preloadImages('../images/btn-lessons-3.gif','../images/btn-lessons-2.gif','../images/btn-lessons-4.gif','../images/btn-extras-3.gif','../images/btn-extras-2.gif','../images/btn-extras-4.gif','../images/btn-links-3.gif','../images/btn-links-2.gif','../images/btn-links-4.gif','../images/btn-credits-3.gif','../images/btn-credits-2.gif','../images/btn-credits-4.gif','../images/btn-system-3.gif','../images/btn-system-2.gif','../images/btn-system-4.gif','../images/btn-home-3.gif','../images/btn-home-2.gif','../images/btn-home-4.gif')"><table border="0" cellpadding="0" cellspacing="8">

As a non-programmer, the only thing I notice that may be missing are the references to the first (initial state) images for each button. I see images 2, 3 and 4 for each button. I checked the library item (nav bar). It clearly indicates four images are associated with each button. I checked that all the images actually exist (they do) at the indicated paths. The images all display properly if viewed separately in the browser window.

Other potentially useful info: I created the site layout in Fireworks MX 2004 and exported to DW MX. In the template, I created a layer (not an editable region) in which to place the nav bar. I didn't want users to be able to change the nav bar. The only editable region is the main layout area. There is no overlap between the nav bar layer and editable region.

I have found no discussion of this error on the Macromedia site or in this forum.

In assigning difficulty, I'm giving this a high importance value because this project has to be ready for the professor to evaluate as of 6:00 EST, 8 Dec 03. Besides that personal timeline, I would like to know for the sake of expertise. Thanks.

Mark Harris (harrismarkc)
Nova Southeastern University
0
Comment
Question by:harrismarkc
3 Comments
 
LVL 23

Accepted Solution

by:
Zeffer earned 250 total points
ID: 9880197
well the first state of the button not showing in that code is not a problem as these will be
embedded in the menu bar..and therefore the page..and the over states are being pre-loded..with that code..when the page loads..so they show without a delay.

you say you created a layer..not an editable region..to alter it you would have had
to go..Modify > Templates > New Editable Region..and name it
if you just change the library item..then the paths in the page would get tangled..as
the original is non-editable..until unlocked.

I hope that makes sense:)

try removing the menu from the template ..unlock the region
and name it..and also the library..and send a new version from FW.
remember..when the new version is placed in the template..it is locked by default

Z
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Suggested Solutions

I still run into .cgi files every now and then. In some instances, I actually prefer the simplicity of a .cgi script to other options. Since I use DreamWeaver extensively, what I needed was a way to open .cgi scripts in Dreamweaver. And I wanted to …
Adobe Dreamweaver CS5 is a WYSIWYG web page editor that has advanced HTML, CSS, and Javascript rendering functionality and is probably the most well-known HTML editor available. Much of Dreamweaver's appeal centers around the Design View interfac…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now