Solved

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

Posted on 2003-12-04
3
209 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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 …
This article is very specific and is only intended to help if you are installing Dreamweaver 8 in a Windows 7 environment with Office 2007 installed.   I'm not sure why Microsoft tends to release OS' that should not be released but they do.  Windows…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

910 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

18 Experts available now in Live!

Get 1:1 Help Now