Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

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

Posted on 2003-12-04
3
Medium Priority
?
231 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 1000 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: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying 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

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…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…

610 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