Copy link to clipboard
Copied
I have made some changes to the template that I use on all pages of my web site, but now as I try to apply the new version of the template to existing pages to update them with the changes, I get this error:
I have no idea how to begin to resolve this because I don't understand what it's telling me. There are some options to choose from in the dropdown "Move content to new region," but I don't know what those mean. I've made earlier changes to the template and when I saved it, I would choose to update the pages, but I've never gotten this error before.
I'm a real novice in using Dreamweaver, so please give me step-by-step instructions on how to proceed. Thanks.
Copy link to clipboard
Copied
without seeing exactly what you did, as a modification, it's hard to say... but it's not an error dialog, it's a normal and useful dialog that appears when we made an heavy change to the template, it allows us to be able to redirect the content as it should, when an ambiguity occurs...
Normally from the information required, I would say BODY should go to BODY, and HEAD to HEAD... but again, we would need to know the changes you made... in fact, know the DWT before and the DWT after.
Copy link to clipboard
Copied
When you say you made changes to Template, is it a proprietary .dwt file?
Are templates saved as .dwt file to your site's Templates folder? This is critical for Templates to work.
Do all child pages have the same Editable Region names as your Template? This is also critical.
I have seen problems occur when people try to nest one Template inside another Template. For many reasons, this practice should be avoided. Nested templates only make your life more complicated.
For better answers, we need to see the code from your Template and the child page you're trying to populate. The best way to do that is with a URL to your online site.
Copy link to clipboard
Copied
@Nancy OShea wrote:When you say you made changes to Template, is it a proprietary .dwt file?
The templates all have the .dwt file extension.
Are templates saved as .dwt file to your site's Templates folder? This is critical for Templates to work.
Yes.
Do all child pages have the same Editable Region names as your Template? This is also critical.
I don't understand Editable Regions or how they are created, so I can't answer that.
For better answers, we need to see the code from your Template and the child page you're trying to populate. The best way to do that is with a URL to your online site.
I've provided the URLs for two files: the template and I guess what you called a child page. The child page used a previous version of the template prior to recent revisions that created the problem. Now I can't apply the template to this page (or any others).
https://boonerta.org/members_only_index.html
https://boonerta.org/GOOD%20basic_template.dwt
Thanks for your help.
Copy link to clipboard
Copied
Following my previous comment, now we can see the structure and construction of your model
However, in order to best help you with the dialog you get when updating a new child, I will need to know what change you made to the DWT.
For information, when you open the DWT sent...
you have on line 16, 17 and 18 the following code
<!-- TemplateBeginEditable name="doctitle" -->
<title>Boone County Unit — MRTA</title>
<!-- TemplateEndEditable -->
this mean that each child page from this template will be able to change the title of the page
from line 267 to 280, all code in beween the comment will not belong to the DWT but to the child page... and so can be completly editable, removable, whatever you want
<!-- TemplateBeginEditable name="ContentArea" -->
<div id="mainContent">
<p align="center">Insert</p>
<p align="center"> </p>
<p align="center"> </p>
<p align="center"> </p>
<p align="center">content</p>
<p align="center"> </p>
<p align="center"> </p>
<p align="center"> </p>
<p align="center"> </p>
<p align="center">here</p>
</div>
<!-- TemplateEndEditable -->
the comment are displayed by the starting and ending comment signs <!-- and -->
<!-- HERE IS AN HTML COMMENT -->
In the last comment, you can see that it is a TemplateBeginEditable, and that the name is ContentArea
That do mean that it is an editable region which has the name ContentArea
and that's it... you just have an Editable Title and a unique editable region for each child page from that template
question.... what did you change to this DWT template to get the dialog box that you posted in our very first comment.
Knowing that we could help you more... but already, I would say document body to BODY and document head to HEAD... try the drop-down menus and see what they propose
Copy link to clipboard
Copied
on the members_only_index.html file, you should add after line 313 and just before line 314, the ending edit comment
<!-- TemplateEndEditable -->
Copy link to clipboard
Copied
Please consult the DW User Guide for details on working with Template Editable Regions.
https://helpx.adobe.com/dreamweaver/using/creating-editable-regions-templates.html
Copy link to clipboard
Copied
anyway, you should reapply the template to your child page, so will get probably again the dialog box...
you have plenty errors in betwwen child end template
first in the template
line 20 you have a opening comment, and it need to be removed
now in the child page
line 61 the propety height differs from the template, 450 px instead of 600px
line 103 you get two hashtags in front of the color value, only one is needed
line 122 the color value differ #ffffff instead of #003300
line 124 to 18 shouldn't be there (so have to be removed)
line 144 shouldn't be there (so has to be removed)
line 165 the color value differ#0033ff instead of #9932CC
line 168 the color value differ #0033ff instead of #009933
line 224 from child
<p align="center"><img src="/Images/old school clip art.jpeg" alt="image of an old country schoolhouse" width="199" height="199" /></p>
differs from line205 of template
<p align="center" class="style2"><img src="/Images/old school clip art.jpeg" width="200" height="200" alt=""></p>
line 227 from child
<!-- end #header-->
differs from line 209 of template (spaces at the end of the comment)
<!-- end #header -->
line 242, the attribute style="color:purple" was removed and should'nt
lines 327 to 342 from child
<!-- begin #footer -->
<div align="center">
<p><h3>Copyright © 2008-2022 Boone County Unit — MRTA</h3>All rights reserved</p>
<p> For problems with this Web site, contact the <a style="color:white" href="mailto:webmaster@boonerta.org">Webmaster</a>.</p>
<p>
<a style="color:white" href="http://www.snakeyewebtemplates.com" target="_blank" title="Free Dreamweaver Web Templates">Dreamweaver Web Templates</a>
</p>
<p>
<a href="http://www.bannerzrusgraphics.com" style="color:white">Some Graphics from Bannerzrusgraphics.com</a></p>
<br>
</div>
<!-- end #footer -->
</div>
</body>
<!-- end #container -->
</html>
differs from line 294 to 309 from template... and shouldn't
<!-- begin #footer -->
<div id="footer" align="center">
<p><h3>Copyright © 2008-2022 Boone County Unit — MRTA </h3></p>
<p><h3>All rights reserved</h3></p>
<p class="style3"><h3>For problems with this Web site, contact the <a href="mailto:webmaster@boonerta.org">Webmaster</a>.</h3></p>
<p>
<a href="http://www.snakeyewebtemplates.com" target="_blank" title="Free Dreamweaver Web Templates" style="color:white">Dreamweaver Web Templates</a>
</p>
<p>
<a href="http://www.bannerzrusgraphics.com" style="color:white">Some Graphics from Bannerzrusgraphics.com</a></p>
<p></p>
<!-- end #footer --> </div>
<!-- end #container --></div>
<!-- end #body --></body>
</html>
Copy link to clipboard
Copied
In short, start over. Your Template is broken.
Read the DW articles on Templates.
Post back if you have any questions.
Copy link to clipboard
Copied
In short, start over. Your Template is broken.
By @Nancy OShea
nope the template is not broken, three steps to correct the trouble should be enought
Copy link to clipboard
Copied
I'm sorry to be in disagreement with you but taken as a whole, the Template is broken.
If that's not broken, I don't what else to call it. D:
CODE TUTORIALS:
- https://www.w3schools.com/html/
- https://www.w3schools.com/css/
- https://www.w3schools.com/js/
- https://www.w3schools.com/bootstrap4/
Copy link to clipboard
Copied
no kidding,
you confuse, or push the bad faith, to qualify a template of broken under pretext that the site uses tables for its layout... lol
the template would be broken, in the case where the mechanism of generation of children page, or of its updates would not be functional. what was the case before the details of correction... but shouldn't be anymore...
it happens regularly to me to make sites and to drop this side... validator... uh... sorry... validator II the return... a website you will make, pleasure will win you... rigidity you will let go... try a blow it relieves
Copy link to clipboard
Copied
I understand one must break a FEW rules now & then. But 100+ validation errors are nothing to sneeze at.
Modern browsers don't like bad code. Dreamweaver doesn't like bad code. Excessive errors in global templates adversely effects every page on the site leading to instability and other performance problems. Rearranging deck chairs on the Titanic won't solve anything.
Copy link to clipboard
Copied
Starting over is not an option. I don't have the coding skills to recreate a new template. Dreamweaver only shows one error and that's on the very last line where I have /html. There's not a match of opening and closing codes, although when I search, there are an equal number of opening codes as closing codes, so I'm ignoring that error. Yes, the website was created 14 years ago, but I thought it conformed to HTML 5.0.
How do I match up the editable regions? I can find the regions in the HTML file that correspond with the editable regions in the template, but how do I tell Dreamweaver what goes with what? On the dialog that asks about "moving content to a new region," none of the options provided in the dropdown menu are the correct choices.
Can you help me add the code needed to tell the template and the document how to talk to each other and match up the correct editable regions? Thanks.
Copy link to clipboard
Copied
As I already told you, yes we can help you, we just need to know what did you change to the DWT.
it's simple, just send us a copy of the DWT before change, (you send the one after)...
questions :
solutions:
Copy link to clipboard
Copied
I only have one DWT. I already sent the revised one. Now here's the previous one before any updates.
There were a lot of changes, but they were mostly just appearance (background, color scheme, etc)
Number of child pages? Not sure of an exact number, but maybe 20-ish.
Appreciate your help SO MUCH!
Copy link to clipboard
Copied
thanks for your fast reply... having both files, before and after, it's easy to see what changed, and so correct, if needed
I am in France, it is currently 7:23 AM, I do not know the time difference with you.
Is it possible to leave me some time to answer you, I am on two voluminous files that I have to treat in the morning, and this afternoon I go on a trip.
Copy link to clipboard
Copied
I would welcome your assistance whenever you are able. Thank you.
Copy link to clipboard
Copied
Starting over is not an option. I don't have the coding skills to recreate a new template.
==========
Pay an experienced coder to help you. Or switch to an online web service like Squarespace, Wix, Webflow or WordPress.
Copy link to clipboard
Copied
Sorry, Birnou is constantly on the move at the moment, he asked me if I could take a look at your DWT...
So in a first step,
taking into account the DWT file you'd like to use, we'll base it on GOOD-Basic-Template.dwt, I rename it to GOOD-Basic-Template-Revised.dwt
Apart from the fact that its construction is based on a TABLE layout, which should be rethought, here are some mistakes that should be quickly avoided (the order is purely arbitrary)
So, you can copy / paste this code, or replace directly your DWT, as you like
in a second time,
you need to apply this template to one of your child pages
if you have a dialog box
head, should be replaced by head (not HEAD)
body... hmmm... I don't see...
anyway, screenshot and post it... if there is any doubt
otherwise publish the page online and see what happens.
in a third time,
if step 2 worked, you need to repeat it for each child page.
Copy link to clipboard
Copied
I feel Lena should be paid for her time.
Copy link to clipboard
Copied
I feel Lena should be paid for her time.
By @Nancy OShea
I second that!
Copy link to clipboard
Copied
I thought everyone on here volunteered their time. Those of us who rely on the expertise of others really appreciate the time they spend. Anyone on here can chose to volunteer their time to help others, or not.
Copy link to clipboard
Copied
Slightly off-topic: May I suggest that you change your screen name? Spam bots will have a feast harvesting your email address for a more lurid purpose.
Copy link to clipboard
Copied
@BenPleysier wrote:Slightly off-topic: May I suggest that you change your screen name? Spam bots will have a feast harvesting your email address for a more lurid purpose.
Excellent idea. I'll do it now. Thanks.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now