Solved

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

Posted on 2003-12-04
3
214 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

For those who don't know, Adobe Dreamweaver is a popular commercial web editor that enables you to design, build and manage complex websites. The editor is a WYSIWYG (What You See Is What You Get) web editor, which means that you can create your web…
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 …
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

726 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