Skip navigation
Currently Being Moderated

Inconsistent Region Names

Mar 9, 2013 5:42 AM

Tags: #dreamweaver

Hi

 

I keep getting this:

 

Inconsistent Region Names

 

            Name

                        Template properties

                                    OptionalRegion1-h3 <not resolved>

                                    h3reartop <Not resolved>

 

                        Editable regions

                                    EditRegion5 <Not resolved>

                                    meta <Not resolved>

 

 

I did create these at one time but removed them. A search does not find them in the dwt .

 

I have copied the dwt to notepad recopied and pasted into a new dwt but still get the above "Inconsistent Region Names" message.

 

Marking them a nowwhere does not help.

 

Can anyone help on this?

 

Bob

 
Replies
  • Currently Being Moderated
    Mar 9, 2013 5:45 AM   in reply to Roatan Island Honduras

    You will get this alert whenever you try to apply a template to a non-templated page, or to the child page of another template where the editable region names do not match. Which is it you are doing when you get this alert, and what is it you are hoping to accomplish?

     
    |
    Mark as:
  • Currently Being Moderated
    Mar 9, 2013 9:09 AM   in reply to Roatan Island Honduras

    I guess I need to build my new templates from scratch instead of teaking at this point.

     

    Not at all. Reworking an existing template is not a problem. What kinds of changes are you making?

     
    |
    Mark as:
  • Currently Being Moderated
    Mar 9, 2013 11:35 AM   in reply to Roatan Island Honduras

    Can you show me a template page, and give me an example of the kinds of things you are doing? Please point out which of those things cause this alert to be thrown.

     
    |
    Mark as:
  • Currently Being Moderated
    Mar 10, 2013 10:16 AM   in reply to Roatan Island Honduras

    Can you give me an example of what change have you made to the template that causes this alert to be thrown? As far as I can tell, the child page that you link is exactly what one would expect from the template you have linked - there should be no inconsistent regions there.

     
    |
    Mark as:
  • Currently Being Moderated
    Mar 11, 2013 5:16 AM   in reply to Roatan Island Honduras

    Here's what I see in that page -

     

    <head>

    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

    <!-- InstanceBeginEditable name="meta" -->

    <title>Roatan Bicycle</title>

    <meta name="Description" content="Roatan Bicycle: A ride to work at the auto shop in Coxen Hole, Roatan.">

    <meta name="Keywords" content="roatan bicycle ride work auto shop coxen hole">

    <meta name="author" content="Lynne and Bob Millsaps">

    <meta name="robots" content="all">

    <meta name="rating" content="safe for kids">

    <style type="text/css">

    .style10 {color: #fedd7a}

    .style11 {font-size: 16px}

    .style121 {font-size: 14px}

    .style121 {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; }

    .style180 {font-size: 18px}

    </style>

    <!-- InstanceEndEditable -->

    <script type="text/javascript" async="" src="http://www.google-analytics.com/ga.js"></script><script type="text/javascript">

     

     

      var _gaq = _gaq || [];

      _gaq.push(['_setAccount', 'UA-560407-25']);

      _gaq.push(['_trackPageview']);

      (function () {

        var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;

        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';

        var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);

      })();

     

     

    </script>

    <link href="http://www.roatan.ws/master.css" rel="stylesheet" type="text/css">

    <link href="http://www.roatan.ws/roatan.css" rel="stylesheet" type="text/css">

    <link href="http://www.roatan.ws/roatannew.css">

    <script src="/Scripts/AC_RunActiveContent.js" type="text/javascript"></script>

    <style type="text/css">...</style>

    <link href="http://www.roatan.ws/roatannew.css" rel="stylesheet" type="text/css">

    </head>

     

    I note the following:

     

    1. The page has an XHTML doctype but your code syntax is not consistent with that. You should either use an HTML 4.01 doctype or adjust your code to correspond to XHTML specifications.

    2. You have removed the standard DW editable regions in the head and replaced them both with a single editable region called "meta". Why did you do that?

    3. I do not see 2 sets of meta data there.

     

    Can you explain?

     
    |
    Mark as:
  • Currently Being Moderated
    Mar 11, 2014 2:48 PM   in reply to MurraySummers

    Hi Murray,

    I recently encountered a similar problem and came across this thread and thought I'd ask about my situation. I'm editing an existing template, adding a repeating around a list li tags with an editable region inside the li tags. This all works fine in Dreamweaver but when I try to edit the page after the template update was applied, I get the Inconsistent Region Names error asking me where I want to put the new repeating region, which is not an option as a new region...

    Screenshot 2014-03-11 15.31.07.png

    Any ideas would be greatly appreciated!

     

    Andy

     
    |
    Mark as:
  • Currently Being Moderated
    Mar 12, 2014 9:14 AM   in reply to Andy Shaffer

    Can we see the code on your template page, please?

     
    |
    Mark as:
  • Currently Being Moderated
    Mar 12, 2014 11:07 AM   in reply to MurraySummers

    No problem. One thing to note that I forgot to mention is that I'm only encountering this problem when editing the child pages in Contribute 6.5. Editing them in Dreamweaver CC works just fine. Also, I've stripped out all CSS, JS, unnecessary HTML, and other content that I'm including via PHP to try and simplify the troubleshooting process.

     

    ---------- Before ----------

     

    <!doctype html>

    <html>

     

    <head>

    <!-- TemplateBeginEditable name="doctitle" -->

    <title>Page Name</title>

    <!-- TemplateEndEditable -->

    <!-- TemplateBeginEditable name="head" -->

    <!-- TemplateEndEditable -->

    </head>

    <body>

     

      <ul>

        <!-- TemplateBeginRepeat name="Slide Roll" -->

          <li>

            <!-- TemplateBeginEditable name="Slide Image" --><img alt="" src="/_assets/images/slider-placeholder.png" /><!-- TemplateEndEditable -->

            <h4><!-- TemplateBeginEditable name="Slide Title" -->Slide Title<!-- TemplateEndEditable --></h4>

            <p><!-- TemplateBeginEditable name="Slide Caption" -->Slide caption<!-- TemplateEndEditable --></p>

          </li>

        <!-- TemplateEndRepeat -->

      </ul>

     

    </body>

    </html>

     

    ---------- After ----------

     

    <!doctype html>

    <html>

     

    <head>

    <!-- TemplateBeginEditable name="doctitle" -->

    <title>Page Name</title>

    <!-- TemplateEndEditable -->

    <!-- TemplateBeginEditable name="head" -->

    <!-- TemplateEndEditable -->

    </head>

    <body>

     

      <ul>

        <!-- TemplateBeginRepeat name="Slide Roll" -->

          <li>

            <!-- TemplateBeginEditable name="Slide Image" --><img alt="" src="/_assets/images/slider-placeholder.png" /><!-- TemplateEndEditable -->

            <h4><!-- TemplateBeginEditable name="Slide Title" -->Slide Title<!-- TemplateEndEditable --></h4>

            <p><!-- TemplateBeginEditable name="Slide Caption" -->Slide caption<!-- TemplateEndEditable --></p>

          </li>

        <!-- TemplateEndRepeat -->

      </ul>

     

      <ul>

        <!-- TemplateBeginRepeat name="Event Roll" -->

          <li>

            <!-- TemplateBeginEditable name="Month" -->Mon<!-- TemplateEndEditable --> <!-- TemplateBeginEditable name="Day" -->DD<!-- TemplateEndEditable --> <!-- TemplateBeginEditable name="Year" -->YYYY<!-- TemplateEndEditable -->

            <h3><!-- TemplateBeginEditable name="Event Title" -->Event Title<!-- TemplateEndEditable --></h3>

            <!-- TemplateBeginEditable name="Event Description" --><p>Event description</p><!-- TemplateEndEditable -->

          </li>

        <!-- TemplateEndRepeat -->

      </ul>

     

    </body>

    </html>

     
    |
    Mark as:
  • Currently Being Moderated
    Mar 12, 2014 11:21 AM   in reply to Andy Shaffer

    You open template "A" and edit the list so that it contains the new repeat region. Then you save it as "A", approve the update to all local files and then check in the local files. Do you then UPLOAD the modified template so that Contribute can use it?

     
    |
    Mark as:
  • Currently Being Moderated
    Mar 12, 2014 11:35 AM   in reply to MurraySummers

    Yes I do. I have Dreamweaver setup to upload automatically on save. I've also setup all child pages to update automatically, and once they do, I check them in (upload) to the remote site so Contribute can edit them.

     
    |
    Mark as:
  • Currently Being Moderated
    Mar 12, 2014 12:40 PM   in reply to Andy Shaffer


    Yes I do. I have Dreamweaver setup to upload automatically on save. I've also setup all child pages to update automatically, and once they do, I check them in (upload) to the remote site so Contribute can edit them.

     

    <shudder> In my opinion, this is the most dangerous option in DW. One mindless save and you have lost both the local and the remote file.

     

    As far as I can tell, you are doing everythign properly. Bear in mind that it's been 5 years at least since I ran kicking and screaming out of Contribute's clutches...

     
    |
    Mark as:
  • Currently Being Moderated
    Mar 12, 2014 1:01 PM   in reply to MurraySummers
    <shudder> In my opinion, this is the most dangerous option in DW. One mindless save and you have lost both the local and the remote file.

     

    As far as I can tell, you are doing everythign properly. Bear in mind that it's been 5 years at least since I ran kicking and screaming out of Contribute's clutches...

    Well I do have the Roll Back Page feature turned on for the last 20 versions of each file, and our IT dept has a decent file recovery system if I need to dig back. We've been on Dw/Ct for about 6 years now where I've been building everything for 40 separate website properties and I've never encountered this before. I feel like I'm doing everything correctly too, which is why it's so confusing.

     

    I'm starting to think there's a caching issue between local and remote files because I've created a scenario where I made a new template and child page starting with 2 repeating regions. And when I remove one of them and try and edit the page again with Ct, it pulls the deleted region back onto the page. Really strange.

     

    We were very close to moving away from Ct this summer, but it was decided that the learning curve of our content editors could not be done within timeframe we had to be live by. So on with Ct we go, for now at least...

     
    |
    Mark as:
  • Currently Being Moderated
    Mar 12, 2014 2:03 PM   in reply to Andy Shaffer

    Maybe I have something bigger going on?? I have another template that is pretty complex with multiple editable regions, optional regions, and repeating regions on the same site. Everything is working on it's child pages just fine. But when I duplicate the template, and create a new child page based off the duplicate, non of the repeating regions work in Ct. I click and click on each of the controls and nothing happens... Ever heard of anything like this?

     
    |
    Mark as:
  • Currently Being Moderated
    Mar 12, 2014 2:32 PM   in reply to Andy Shaffer

    Sorry, no I have not, and I'm pretty good with templates. Perhaps Tech Support could help? Maybe?

     
    |
    Mark as:
  • Currently Being Moderated
    Mar 13, 2014 9:39 AM   in reply to MurraySummers

    UPDATE:

     

    I've done some more testing and am convinced I found a software bug in how Dreamweaver and Contribute interacts with a certain combination of steps. I'll map out exactly what I've done and how I've gotten around it, in case it helps someone reading this thread...

     

    Scenario

     

    You have a site where templates are managed with Dreamweaver and child pages are edited by Contribute. You then have a template with at least 1 repeating region in it, and you'd like to add another repeating region.

     

    What does not work...

    Adding the new repeating region to the template and updating all child pages that use it.

         Note 1: This problem only occurs on pages that have been edited by Contribute.

     

    What does work...

    Duplicate the template under a new name, add the new repeating region and save it. Now apply the new template to all the child pages of the previous template.

         Note 1: If naming conventions are an issue, you can always delete the previous template and rename the new template after you've moved all the child pages.

         Note 2: If you are working with a huge site as I am and need to apply the new duplicate template to multiple pages at once, there are round about ways to do it with find/replace. Just google it.

     

    There are a ton of other combinations of adding different types of template regions or parameters that I did not test. But I did test thuroughly that this will happen when attempting to add an additional repeating region to a template that already has one, if the pages are being edited with Contribute.

     
    |
    Mark as:
  • Currently Being Moderated
    Mar 13, 2014 9:43 AM   in reply to Andy Shaffer

    I have to say that this is good work. But I consider myself a power user of templates, and decided long ago to not use Contribute preferring instead to build the content management pages myself or to use some off-the-shelf solution. I found Ct to be much much too fiddly.

     

    I'll see if I can get this info into the hands of the proper authorities!

     
    |
    Mark as:
  • Currently Being Moderated
    Mar 13, 2014 9:53 AM   in reply to MurraySummers

    I have to say that this is good work. But I consider myself a power user of templates, and decided long ago to not use Contribute preferring instead to build the content management pages myself or to use some off-the-shelf solution. I found Ct to be much much too fiddly.

     

    I'll see if I can get this info into the hands of the proper authorities!

    Thanks Murray! I too am often frustrated with Contribute. It was unfortunately chosen years ago due to a bad combination of resources, experience, IT policies, and corporate red-tape which I've been forced to deal with. I have however come up with some nifty ways of doing things, but bugs and clunkyness are annoying. Contribute isn't a bad start to a good CMS concept, but it seems Adobe isn't putting the resources into it to that it needs.

     

    Can I ask what you went to after Ct? Are you still managing at the top level with Dw? or building in Dw for another CMS like WordPress?

     
    |
    Mark as:
  • Currently Being Moderated
    Mar 13, 2014 10:15 AM   in reply to Andy Shaffer

    It's a little bit of everything. I built my own for multiple sites, used WebAssist's PowerCMS for a few, and finally have come to rely on Wordpress (not much use of DW there). I'm thinking about trying out Joomla next...

     
    |
    Mark as:
  • Currently Being Moderated
    Mar 13, 2014 10:23 AM   in reply to MurraySummers

    I've also heard good things about ContentSeed, Perch and CushyCMS but have only used the former and thought it was pretty functional.

     
    |
    Mark as:
  • Currently Being Moderated
    Mar 13, 2014 12:05 PM   in reply to Andy Shaffer

    Andy Shaffer wrote:

     

    Maybe I have something bigger going on?? I have another template that is pretty complex with multiple editable regions, optional regions, and repeating regions on the same site. Everything is working on it's child pages just fine. But when I duplicate the template, and create a new child page based off the duplicate, non of the repeating regions work in Ct. I click and click on each of the controls and nothing happens... Ever heard of anything like this?

    As far as this goes, I do have a bigger problem causing repeating regions to randomly stop working in Contribute. This was actually my original problem that let me to find the Inconsistent Region Names issue that this damn thread is about. I had been performing basic updates (asset reorganizing, template region renaming, some PHP syntax, basic stuff) to a few sites that are pretty much identical in markup and template regions/options (HTML5, CSS3, PHP includes, Bootstrap Framework, jQuery, and a few jQuery plugins). But in one of my sites, a page lost the ability to use the repeating region controls all together. They worked fine in Dreamweaver, but not in Contribute. And this only happened in 1 of 4 sites I had been updating.

     

    I've troubleshot a ton of combinations to retrace my steps to narrow down what I did to break the site. And I mean a ton, I dropped all PHP includes to see if that did it, I dropped all JS, removed all but one repeating region, rebuilt pages from scratch, and many combinations of those and more. NOTHING WORKED and/or would stay working. I even built a new site with new local/remote locations, different sub-domain name, and copied just the page, it's template, and the assets needed to display the page correctly, keeping all the _notes and _bak directories in tact. I purposly left out the _mm directory because I suspect something may be going on there. I then set the site up for Contribute as I've done all our other sites. The pages worked for a bit, but when I tried copying a page with current content from my Contribute users, it broke again.

     

    WTF right? Now I'm starting to think that I'm retarded and should look for a new line of work flipping burgers because I've been working on this damn problem for 3 days and can't figure it out!

     

    I'm going to start a new thread on this, maybe someone (ADOBE!!) can clue me in??

     
    |
    Mark as:
  • Currently Being Moderated
    Mar 13, 2014 12:10 PM   in reply to Andy Shaffer

    I have asked adobe staff to look in on this thread, Andy.

     
    |
    Mark as:
  • Currently Being Moderated
    Mar 14, 2014 8:28 AM   in reply to MurraySummers

    MurraySummers wrote:

     

    I have asked adobe staff to look in on this thread, Andy.

     

    Thanks Murray! I'll have to take a look at some of those other CMS options sometime. We are seriously considering SharePoint too. Its not an ideal option and would be a huge learning curve, but our IT dept is dedicated to using it as much as possible and would like me to use it for our 40 public web properties. I've seen some good things with their latest version, but man, it would be a ton of work! I too like WordPress, but we have policies stating that we must host in-house and IT isn't willing to handle the hosting end of WordPress for me :/

     

    Anyway, I don't want to get this thread too off topic, but I ended up deleting my site from CPS and deleted the _mm and all _notes folders, then setup the site again and re-built all the user roles for Ct. So far it's working...

     
    |
    Mark as:
  • Currently Being Moderated
    Mar 14, 2014 8:34 AM   in reply to Andy Shaffer

    Good luck, Andy. You've done alot of work!

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points