Ask a Question related to Dreamweaver AppDev, Design and Development.
-
ariasj #1
Issues with templates and nested templates
Hello,
I hope there is someone out there that can help me.
I created a website using 1 main template and several nested templates.
Everything was working correctly. I was able to make changes to the parent
template and these were updated on the child templates without a problem. Then
somehow, I don't know what I did, but I deleted the following code from the
parent template:
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<!-- InstanceBeginEditable name="titleofpage" -->
<title>Recipes</title>
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
//-->
Now if I try to save a change to the parent template, I get the following
message:
Inconsistent Region Names
Some regions in this document have no corresponding regions in the new
template.
title of page <Not resolved>
If I try to move content to new region <Nowhere> it tells me that "optional
region 1 and 2" are also <Not resolved> and it throws everything all the
content of the child templates into columns that don't exist in the parent
template.
If I try to move content to any of the other regions that do exist, it also
moves all of the content around.
Please please help. I don't know how to fix this without having to start all
over again. I've already spent hours and hours trying to get it to work the
first time.
Here is the code for the parent template:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>this is a test</title>
<style type="text/css">
<!--
body {
margin-left: 0px;
margin-top: 0px;
}
#maintext {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 12px;
color: #000000;
padding: 5px;
}
#separator {
padding: 5px;
border-left-width: 1px;
border-left-style: dotted;
border-left-color: #990033;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 12px;
line-height: 14px;
color: #000000;
}
#divider {
border-top-width: 1px;
border-top-style: dotted;
border-right-style: none;
border-bottom-style: none;
border-left-style: none;
border-top-color: #990033;
padding: 10px;
}
-->
</style>
<link href="../style_sheets/copy1list-recipes.css" rel="stylesheet"
type="text/css">
<style type="text/css">
<!--
@import url(../style_sheets/title.css);
@import url(../style_sheets/linkrollover.css);
@import url(../style_sheets/navigation.css);
-->
</style>
</head>
<body>
<table border="0" align="center" cellpadding="0" cellspacing="0"
bgcolor="#FFFFFF">
<!--DWLayoutTable-->
<!-- fwtable fwsrc="miohome.png" fwbase="miohome.gif" fwstyle="Dreamweaver"
fwdocid = "1597261760" fwnested="0" -->
<tr>
<td width="635" height="170" align="left" valign="top"><img
src="../graphics-images/redmasthead/masthead_r1_c1.gif" alt="masthead1"
width="201" height="170" /><img
src="../graphics-images/redmasthead/masthead_r1_c2.gif" alt="masthead2"
width="219" height="170" /><img
src="../graphics-images/redmasthead/masthead_r1_c3.gif" alt="masthead3"
width="215" height="170" /></td>
<td width="124" align="left" valign="top"><img
src="../graphics-images/redmasthead/masthead_r1_c4.gif" alt="masthead4"
width="165" height="170" /></td>
<td width="174" rowspan="5" align="left" valign="top"
bgcolor="#CCFF99"><div id="navigate">
<ul>
<li></li>
<li><a href="../mio-home.html">HOME</a></li>
<li><a href="../mio-aboutus.html">ABOUT US</a></li>
<li><a href="../mio-recipes.html">RECIPES</a></li>
<li><a href="../mio-directory.html">MIO DIRECTORY</a></li>
<li><a href="../mio-restaurants.html">MIO RESTAURANTS</a></li>
<li><a href="../mio-intnldirectory.html">INTERNATIONAL
DIRECTORY</a></li>
<li><a href="../mio-member.html">BECOME A MEMBER</a></li>
<li><a href="../mio-community.html">COMMUNITY RELATIONS</a></li>
<li><a href="mailto:barbara@oda.state.ok.us">CONTACT US</a></li>
<li><a href="../mio-baskets.html">MIO GIFT BASKETS</a></li>
</ul>
<div id="navigate"></div>
<p align="center"><span class="style12"><span class="style15">QUICK
LINKS<br />
</span></span><span class="style14">Click on a link below<br />
<br />
<font size="1" face="Verdana, Arial, Helvetica, sans-serif"><font
size="2" face="Verdana, Arial, Helvetica, sans-serif"><a
href="mio-pressroom.html"><img src="../graphics-images/graphics/press-room.gif"
alt="PRESS ROOM- Click her to read about MIO Coalition in the news, download
press releases, logos and more!" name="press_room" width="156" height="77"
border="0" id="press_room" /></a></font></font> </span></p>
<p align="center"><a href="http://www.travelok.com/disc_ok/index.asp"
target="_blank"><img src="../graphics-images/graphics/disc_ok_logo2.gif"
alt="Integris Health's Discover Oklahoma. Click here to go to the Disciver
Oklahoma website." name="discover_oklahoma" width="156" height="57" border="0"
id="discover_oklahoma" /></a></p>
<p align="center"><a href="http://www.oda.state.ok.us"
target="_blank"><img src="../graphics-images/mio-member-logos/odaff-logo.jpg"
alt="odaf logo" width="100" height="98" border="0" /></a></p>
<p align="center"><a href="http://www.madeinoklahoma.net"
target="_blank" class="rollover">www.madeinoklahoma.net</a></p>
</div></td>
</tr>
<tr>
<td height="40" colspan="2" valign="top"> <!-- TemplateBeginEditable
name="pagetitle" -->
<div id="title">RECIPES</div>
<!-- TemplateEndEditable --></td>
</tr>
<tr>
<td height="311" valign="top"><!-- TemplateBeginEditable name="copy1" -->
<div id="maintext">Content for id "maintext" Goes Here</div>
<!-- TemplateEndEditable --></td>
<td valign="top"><!-- TemplateBeginEditable name="copy2" -->
<div id="separator">Content for id "divider" Goes Here</div>
<!-- TemplateEndEditable --></td>
</tr>
<tr>
<!-- TemplateBeginEditable name="copy3" -->
<td height="234" colspan="2"
valign="top"><!--DWLayoutEmptyCell--> </td>
<!-- TemplateEndEditable --></tr>
<tr>
<td height="124" colspan="2" valign="top"><div align="center">
<div id="divider">
<p class="rollover"><font color="#66cc33" size="1" face="Verdana,
Arial, Helvetica, sans-serif"><a href="../mio-home.html"
style="text-decoration:none">HOME</a> | <a href="../mio-aboutus.html"
style="text-decoration:none">ABOUT</a> | <a href="../mio-recipes.html"
style="text-decoration:none">RECIPES</a> | <a href="../mio-directory.html"
style="text-decoration:none">MIO DIRECTORY</a> | <a
href="../mio-intnldirectory.html" style="text-decoration:none">INTERNATIONAL
DIRECTORY</a> | <a href="../OLD%20SITE/mio_become-member.html"
style="text-decoration:none">BECOME A MEMBER<br />
</a> <a href="../OLD%20SITE/mio_commrelations.html"
style="text-decoration:none">COMMUNITY RELATIONS</a> | <a
href="../OLD%20SITE/mio_commrelations.html"
style="text-decoration:none">CONTACT US</a> | <a
href="../OLD%20SITE/mio_directory.html" style="text-decoration:none">MIO GIFT
BASKETS </a></font></p>
<p><font color="#66cc33" size="1" face="Verdana, Arial, Helvetica,
sans-serif">©2005 MADE IN OKLAHOMA COALITION </font></p>
</div>
<p align="left" class="rollover"> </p>
</div></td>
</tr>
<tr>
<td height="0"></td>
<td></td>
<td></td>
</tr>
</table>
</body>
</html>
Thanks. Your help is greatly appreciated.
TextText
ariasj Guest
-
nested templates for multi-tier navigation
Greetings, I am trying to use dreamweaver templates to build a site that my client can maintain after initial development. The site will involve... -
Libraries, Templates, Nested Templates, Repeat Regions,
Hi I have eight categories to display in my site navigation. Each category has at least one (some have two) levels of subcategories. For example... -
PHP in nested templates
I am using nested templates with PHP. When a user creates a new page in Contribute 3, it executes the PHP code in the parent template and inserts... -
Please Fix Repeating Regions in Nested Templates
I am disappointed that repeating regions still do not work in nested templates in Dreamweaver 8. I believe it's probably common to use a repeating... -
Repeating regions and nested templates
I'm having some trouble with nested templates and repeating regions. I've searched this forum for answers, but all I could find were references to... -
Murray *TMM* #2
Re: Issues with templates and nested templates
Open the parent template in Notepad/TextEdit, and paste those lines back in.
--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
[url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
[url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
[url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
[url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
==================
"ariasj" <webforumsuser@macromedia.com> wrote in message
news:d6g6gn$s9t$1@forums.macromedia.com...> Hello,
> I hope there is someone out there that can help me.
>
> I created a website using 1 main template and several nested templates.
> Everything was working correctly. I was able to make changes to the parent
> template and these were updated on the child templates without a problem.
> Then
> somehow, I don't know what I did, but I deleted the following code from
> the
> parent template:
>
> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
> <!-- InstanceBeginEditable name="titleofpage" -->
> <title>Recipes</title>
> <script language="JavaScript" type="text/JavaScript">
> <!--
> function MM_openBrWindow(theURL,winName,features) { //v2.0
> window.open(theURL,winName,features);
> }
> //-->
>
> Now if I try to save a change to the parent template, I get the following
> message:
> Inconsistent Region Names
> Some regions in this document have no corresponding regions in the new
> template.
>
> title of page <Not resolved>
>
> If I try to move content to new region <Nowhere> it tells me that
> "optional
> region 1 and 2" are also <Not resolved> and it throws everything all the
> content of the child templates into columns that don't exist in the parent
> template.
>
> If I try to move content to any of the other regions that do exist, it
> also
> moves all of the content around.
>
> Please please help. I don't know how to fix this without having to start
> all
> over again. I've already spent hours and hours trying to get it to work
> the
> first time.
>
> Here is the code for the parent template:
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
> "http://www.w3.org/TR/html4/loose.dtd">
> <html>
> <head>
> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
> <title>this is a test</title>
>
>
> <style type="text/css">
> <!--
> body {
> margin-left: 0px;
> margin-top: 0px;
> }
> #maintext {
> font-family: Verdana, Arial, Helvetica, sans-serif;
> font-size: 12px;
> color: #000000;
> padding: 5px;
> }
> #separator {
> padding: 5px;
> border-left-width: 1px;
> border-left-style: dotted;
> border-left-color: #990033;
> font-family: Verdana, Arial, Helvetica, sans-serif;
> font-size: 12px;
> line-height: 14px;
> color: #000000;
> }
> #divider {
> border-top-width: 1px;
> border-top-style: dotted;
> border-right-style: none;
> border-bottom-style: none;
> border-left-style: none;
> border-top-color: #990033;
> padding: 10px;
> }
> -->
> </style>
> <link href="../style_sheets/copy1list-recipes.css" rel="stylesheet"
> type="text/css">
> <style type="text/css">
> <!--
> @import url(../style_sheets/title.css);
> @import url(../style_sheets/linkrollover.css);
> @import url(../style_sheets/navigation.css);
> -->
> </style>
> </head>
>
> <body>
> <table border="0" align="center" cellpadding="0" cellspacing="0"
> bgcolor="#FFFFFF">
> <!--DWLayoutTable-->
> <!-- fwtable fwsrc="miohome.png" fwbase="miohome.gif"
> fwstyle="Dreamweaver"
> fwdocid = "1597261760" fwnested="0" -->
> <tr>
> <td width="635" height="170" align="left" valign="top"><img
> src="../graphics-images/redmasthead/masthead_r1_c1.gif" alt="masthead1"
> width="201" height="170" /><img
> src="../graphics-images/redmasthead/masthead_r1_c2.gif" alt="masthead2"
> width="219" height="170" /><img
> src="../graphics-images/redmasthead/masthead_r1_c3.gif" alt="masthead3"
> width="215" height="170" /></td>
> <td width="124" align="left" valign="top"><img
> src="../graphics-images/redmasthead/masthead_r1_c4.gif" alt="masthead4"
> width="165" height="170" /></td>
> <td width="174" rowspan="5" align="left" valign="top"
> bgcolor="#CCFF99"><div id="navigate">
> <ul>
> <li></li>
> <li><a href="../mio-home.html">HOME</a></li>
> <li><a href="../mio-aboutus.html">ABOUT US</a></li>
> <li><a href="../mio-recipes.html">RECIPES</a></li>
> <li><a href="../mio-directory.html">MIO DIRECTORY</a></li>
> <li><a href="../mio-restaurants.html">MIO RESTAURANTS</a></li>
> <li><a href="../mio-intnldirectory.html">INTERNATIONAL
> DIRECTORY</a></li>
> <li><a href="../mio-member.html">BECOME A MEMBER</a></li>
> <li><a href="../mio-community.html">COMMUNITY RELATIONS</a></li>
> <li><a href="mailto:barbara@oda.state.ok.us">CONTACT US</a></li>
> <li><a href="../mio-baskets.html">MIO GIFT BASKETS</a></li>
> </ul>
> <div id="navigate"></div>
> <p align="center"><span class="style12"><span
> class="style15">QUICK
> LINKS<br />
> </span></span><span class="style14">Click on a link below<br />
> <br />
> <font size="1" face="Verdana, Arial, Helvetica,
> sans-serif"><font
> size="2" face="Verdana, Arial, Helvetica, sans-serif"><a
> href="mio-pressroom.html"><img
> src="../graphics-images/graphics/press-room.gif"
> alt="PRESS ROOM- Click her to read about MIO Coalition in the news,
> download
> press releases, logos and more!" name="press_room" width="156" height="77"
> border="0" id="press_room" /></a></font></font> </span></p>
> <p align="center"><a
> href="http://www.travelok.com/disc_ok/index.asp"
> target="_blank"><img src="../graphics-images/graphics/disc_ok_logo2.gif"
> alt="Integris Health's Discover Oklahoma. Click here to go to the Disciver
> Oklahoma website." name="discover_oklahoma" width="156" height="57"
> border="0"
> id="discover_oklahoma" /></a></p>
> <p align="center"><a href="http://www.oda.state.ok.us"
> target="_blank"><img
> src="../graphics-images/mio-member-logos/odaff-logo.jpg"
> alt="odaf logo" width="100" height="98" border="0" /></a></p>
> <p align="center"><a href="http://www.madeinoklahoma.net"
> target="_blank" class="rollover">www.madeinoklahoma.net</a></p>
> </div></td>
> </tr>
> <tr>
> <td height="40" colspan="2" valign="top"> <!--
> TemplateBeginEditable
> name="pagetitle" -->
> <div id="title">RECIPES</div>
> <!-- TemplateEndEditable --></td>
> </tr>
> <tr>
> <td height="311" valign="top"><!-- TemplateBeginEditable
> name="copy1" -->
> <div id="maintext">Content for id "maintext" Goes Here</div>
> <!-- TemplateEndEditable --></td>
> <td valign="top"><!-- TemplateBeginEditable name="copy2" -->
> <div id="separator">Content for id "divider" Goes Here</div>
> <!-- TemplateEndEditable --></td>
> </tr>
> <tr>
> <!-- TemplateBeginEditable name="copy3" -->
> <td height="234" colspan="2"
> valign="top"><!--DWLayoutEmptyCell--> </td>
> <!-- TemplateEndEditable --></tr>
> <tr>
> <td height="124" colspan="2" valign="top"><div align="center">
> <div id="divider">
> <p class="rollover"><font color="#66cc33" size="1"
> face="Verdana,
> Arial, Helvetica, sans-serif"><a href="../mio-home.html"
> style="text-decoration:none">HOME</a> | <a href="../mio-aboutus.html"
> style="text-decoration:none">ABOUT</a> | <a href="../mio-recipes.html"
> style="text-decoration:none">RECIPES</a> | <a href="../mio-directory.html"
> style="text-decoration:none">MIO DIRECTORY</a> | <a
> href="../mio-intnldirectory.html"
> style="text-decoration:none">INTERNATIONAL
> DIRECTORY</a> | <a href="../OLD%20SITE/mio_become-member.html"
> style="text-decoration:none">BECOME A MEMBER<br />
> </a> <a href="../OLD%20SITE/mio_commrelations.html"
> style="text-decoration:none">COMMUNITY RELATIONS</a> | <a
> href="../OLD%20SITE/mio_commrelations.html"
> style="text-decoration:none">CONTACT US</a> | <a
> href="../OLD%20SITE/mio_directory.html" style="text-decoration:none">MIO
> GIFT
> BASKETS </a></font></p>
> <p><font color="#66cc33" size="1" face="Verdana, Arial,
> Helvetica,
> sans-serif">©2005 MADE IN OKLAHOMA COALITION </font></p>
> </div>
> <p align="left" class="rollover"> </p>
> </div></td>
> </tr>
> <tr>
> <td height="0"></td>
> <td></td>
> <td></td>
> </tr>
> </table>
> </body>
> </html>
>
> Thanks. Your help is greatly appreciated.
>
> TextText
>
Murray *TMM* Guest
-
ariasj #3
Re: Issues with templates and nested templates
Hello,
Thanks for your reply. I tried opening the parent template in
Notepad/TextEdit, and pasting the lines back in and it erased everything in the
parent template, nothing was visible when I opened it in dreamweaver. Only the
code showed in the code window. Also when I saved the changes it said that I
had an error on line 4 of the <head> tag.
Is there something else that I can try?
Thanks,
J
ariasj Guest
-
Murray *TMM* #4
Re: Issues with templates and nested templates
First thing to understand. This is not magic. The files are simply text
files containing HTML markup.
Pasting those lined back in at the top of the page cannot possibly erase
everthing in the parent template unless you had everything selected when you
pasted them back in. Did you?
Can you post a link to the parent template page, and I'll paste the content
back for you?
--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
[url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
[url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
[url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
[url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
==================
"ariasj" <webforumsuser@macromedia.com> wrote in message
news:d6gadk$49k$1@forums.macromedia.com...> Hello,
> Thanks for your reply. I tried opening the parent template in
> Notepad/TextEdit, and pasting the lines back in and it erased everything
> in the
> parent template, nothing was visible when I opened it in dreamweaver. Only
> the
> code showed in the code window. Also when I saved the changes it said that
> I
> had an error on line 4 of the <head> tag.
>
> Is there something else that I can try?
> Thanks,
> J
>
Murray *TMM* Guest
-
ariasj #5
Re: Issues with templates and nested templates
I understand that it's not magic. I am trying my best to understand this.
However, I am not a coder.
I did what you said and the code was there but the page had nothing on it.
I've tried troubleshooting this myself and have had no luck. This is why I've
come to this forum for help.
Here is a link to the page: [url]http://www.miocoalition.com/Templates/MIO_3.dwt[/url]
I really don't know what else to do other than to start over.
Thanks for your help.
J
ariasj Guest
-
Murray *TMM* #6
Re: Issues with templates and nested templates
This page you have linked below is not the page from which you deleted the
previously posted code, right?
If it is then I am very confused. Your previous post showed the deletion
inclluding a <title> tag, yet the code on the page below is not missing one.
Can you clear that up for me, please?
--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
[url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
[url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
[url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
[url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
==================
"ariasj" <webforumsuser@macromedia.com> wrote in message
news:d6ge29$910$1@forums.macromedia.com...>I understand that it's not magic. I am trying my best to understand this.
> However, I am not a coder.
> I did what you said and the code was there but the page had nothing on it.
>
> I've tried troubleshooting this myself and have had no luck. This is why
> I've
> come to this forum for help.
>
> Here is a link to the page:
> [url]http://www.miocoalition.com/Templates/MIO_3.dwt[/url]
>
> I really don't know what else to do other than to start over.
>
> Thanks for your help.
> J
>
Murray *TMM* Guest
-
ariasj #7
Re: Issues with templates and nested templates
No. I didn't paste it into the original. I made a copy of it so that I would
have an original to revert to in case the file got messed up even more. Here is
a link to the child templates that I'm refering to.
[url]http://www.miocoalition.com/Templates/mio-recipe.dwt[/url]
[url]http://www.miocoalition.com/Templates/mio-recipe-breads.dwt[/url] (this is nested to
the one above)
Here is the parent template again:
[url]http://www.miocoalition.com/Templates/MIO_3.dwt[/url]
the <title> tag in the parent template doesn't match the <title> tag in the
nested templates. This whole section found in the child templates is missing in
the parent template:
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<!-- InstanceBeginEditable name="titleofpage" -->
<title>Recipes</title>
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
//-->
Somehow got deleted and so when I want to update the parent template. I get
the Inonsistent region message.
Again, I don't know how I deleted this.
If you can help me fix this, you have no idea how much I will appreciate it.
Thanks for your help.
J
ariasj Guest
-
Murray *TMM* #8
Re: Issues with templates and nested templates
Personally, I think you are painting yourself into a corner using this
nested template scheme, but that's just my opinion. In my experience, such
schemes become inflexible and troublesome in the long run.
Good going.> No. I didn't paste it into the original. I made a copy of it so that I
> would
> have an original to revert to in case the file got messed up even more.
Go here -
[url]http://www.murraytestsite.com/MIO_3.zip[/url]
There is your fixed template file. Download it into the Templates folder of
your site. Rename your existing MIO_3.dwt to some backup name, and REFUSE
the file update prompt. Unzip the new one into the Templates folder and
allow it to update files. You should be all set now.
--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
[url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
[url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
[url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
[url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
==================
"ariasj" <webforumsuser@macromedia.com> wrote in message
news:d6gvl9$2m$1@forums.macromedia.com...> No. I didn't paste it into the original. I made a copy of it so that I
> would
> have an original to revert to in case the file got messed up even more.
> Here is
> a link to the child templates that I'm refering to.
>
> [url]http://www.miocoalition.com/Templates/mio-recipe.dwt[/url]
> [url]http://www.miocoalition.com/Templates/mio-recipe-breads.dwt[/url] (this is
> nested to
> the one above)
>
> Here is the parent template again:
> [url]http://www.miocoalition.com/Templates/MIO_3.dwt[/url]
>
> the <title> tag in the parent template doesn't match the <title> tag in
> the
> nested templates. This whole section found in the child templates is
> missing in
> the parent template:
>
> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
> <!-- InstanceBeginEditable name="titleofpage" -->
> <title>Recipes</title>
> <script language="JavaScript" type="text/JavaScript">
> <!--
> function MM_openBrWindow(theURL,winName,features) { //v2.0
> window.open(theURL,winName,features);
> }
> //-->
>
> Somehow got deleted and so when I want to update the parent template. I
> get
> the Inonsistent region message.
> Again, I don't know how I deleted this.
>
> If you can help me fix this, you have no idea how much I will appreciate
> it.
>
> Thanks for your help.
> J
>
Murray *TMM* Guest
-
ariasj #9
Re: Issues with templates and nested templates
Thanks for your help. I really appreciate it. As far as using nested templates,
is there a better way of doing this or an alternative to nested templates? The
reason I nested the templates in the first place is because of the "Recipe"
pages that I sent you. There are about 8 or 9 different sections that I would
have to change individually if the template weren't linked to the parent
templates. Any suggestions for future implementation would be greatly
appreciated!
I'm trying to dive into style sheets to control and to make changes to my
websites in the future. But there is somewhat of a learning curve.
Thanks again for all of your help. I will try this tonight and let you know!
J :D
ariasj Guest
-
Murray *TMM* #10
Re: Issues with templates and nested templates
Rather than nesting templates to accomplish what you describe, I would use
template logic to write various server-side includes into the page,
depending on what content you wanted to have there. This works really well
with subordinate navigation elements - I am not so clear on how it would
apply to what you are wanting to do, though.
--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
[url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
[url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
[url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
[url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
==================
"ariasj" <webforumsuser@macromedia.com> wrote in message
news:d6i5tu$msu$1@forums.macromedia.com...> Thanks for your help. I really appreciate it. As far as using nested
> templates,
> is there a better way of doing this or an alternative to nested templates?
> The
> reason I nested the templates in the first place is because of the
> "Recipe"
> pages that I sent you. There are about 8 or 9 different sections that I
> would
> have to change individually if the template weren't linked to the parent
> templates. Any suggestions for future implementation would be greatly
> appreciated!
>
> I'm trying to dive into style sheets to control and to make changes to my
> websites in the future. But there is somewhat of a learning curve.
>
> Thanks again for all of your help. I will try this tonight and let you
> know!
> J :D
>
Murray *TMM* Guest
-
ariasj #11
Re: Issues with templates and nested templates
THANK YOU SO MUCH!!!!!!!!! I don't know what you did but whatever it was
worked. My templates are working correctly. The only issue I have now is in the
navigation bar. The the font in the CSS size is 10px for all states
(link,hover,and visited) However after the link is clicked the font gets huge.
I don't know why its doing this. This might be another topic of discussion. I
can post a new message but i thought I would go ahead and ask.
Here is the code:
#navigate{ width: 168px;
}
#navigate ul
{
margin-left: 0;
padding-left: 0;
list-style-type: none;
font-family: Verdana, Arial, Helvetica, sans-serif;
}
#navigate a
{
display: block;
padding: 3px;
width: 168px;
background-color: #CCFF99;
border-bottom: 1px dotted #CC0000;
}
#navigate a:link, #navlist a:visited
{
color: #CC0000;
text-decoration: none;
background-color: #CCFF99;
font-size: 10px!important;
}
#navigate a:hover
{
background-color: #66CC33;
color: #FFFFFF;
text-decoration: none;
}
#main {
padding: 5px;
}
#links {
border-top-style: none;
border-bottom-style: none;
background-color: #0099CC;
}
Thanks!
ariasj Guest
-
Murray *TMM* #12
Re: Issues with templates and nested templates
> THANK YOU SO MUCH!!!!!!!!! I
You're welcome.
I added the required markup back to the parent template file.> I don't know what you did
You have some inconsistencies in the markup -> However after the link is clicked the font gets huge
<td width="174" rowspan="5" align="left" valign="top"
bgcolor="#CCFF99"><div id="navigate">
<ul>
<li></li>
<li><a href="../mio-home.html">HOME</a></li>
<li><a href="../mio-aboutus.html">ABOUT US</a></li>
<li><a href="../mio-recipes.html">RECIPES</a></li>
<li><a href="../mio-directory.html">MIO DIRECTORY</a></li>
<li><a href="../mio-restaurants.html">MIO RESTAURANTS</a></li>
<li><a href="../mio-intnldirectory.html">INTERNATIONAL
DIRECTORY</a></li>
<li><a href="../mio-member.html">BECOME A MEMBER</a></li>
<li><a href="../mio-community.html">COMMUNITY RELATIONS</a></li>
<li><a href="mailto:barbara@oda.state.ok.us">CONTACT US</a></li>
<li><a href="../mio-baskets.html">MIO GIFT BASKETS</a></li>
</ul>
<div id="navigate"></div>
First, you have an empty list element at the top of the list. Then you have
two divs with id="navigate" (ID assignments must be unique on the page).
Finally, your CSS is looking for something called "navlist" for the visited
pseudo-class - is that a typo?
#navigate a:link, #navlist a:visited
--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
[url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
[url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
[url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
[url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
==================
"ariasj" <webforumsuser@macromedia.com> wrote in message
news:d6jmrf$t9d$1@forums.macromedia.com...> THANK YOU SO MUCH!!!!!!!!! I don't know what you did but whatever it was
> worked. My templates are working correctly. The only issue I have now is
> in the
> navigation bar. The the font in the CSS size is 10px for all states
> (link,hover,and visited) However after the link is clicked the font gets
> huge.
> I don't know why its doing this. This might be another topic of
> discussion. I
> can post a new message but i thought I would go ahead and ask.
>
> Here is the code:
>
Murray *TMM* Guest



Reply With Quote

