Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Dreamweaver (all versions) section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 9th, 2005, 09:24 AM
Registered User
 
Join Date: Jun 2005
Location: , , .
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Can't create html page from template

I try to make a new one html page from my created template but when I choose template from the box and click create button, after that will
have a pop up told me Template "F:........../*.dwt" nested inside itself (directly or indirectly) Oho!! I can't go on in my project. I don't know why? and How to fix it!
Could you help me please. (Sorry for my English grama)
 
Old June 9th, 2005, 12:03 PM
Imar's Avatar
Wrox Author
Points: 70,322, Level: 100
Points: 70,322, Level: 100 Points: 70,322, Level: 100 Points: 70,322, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Can you post the code for the template? It sounds like the error must be somewhere in your template, but it's hard to tell without seeing your code...

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
 
Old June 9th, 2005, 09:37 PM
Registered User
 
Join Date: Jun 2005
Location: , , .
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Oho! I'm forgot post my cord Sorry. and this is my template cord And thank you for you kindness


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>

<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=windows-874">

<style type="text/css">
<!--
.Red-11 {
    color: #CC0000;
    font-size: 11px;
    font-family: Verdana, Arial, Helvetica, sans-serif;
}
.Red-10 {
    color: #CC0000;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 10px;
    font-style: normal;
}
.GraySet-10 {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 10px;
    color: #666666;
    font-style: normal;
}
.style7 {font-family: Verdana, Arial, Helvetica, sans-serif}
-->
</style>

<style type="text/css">
<!--
.Red-11 {
    color: #CC0000;
    font-size: 11px;
    font-family: Verdana, Arial, Helvetica, sans-serif;
}
.Red-10 {
    color: #CC0000;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 10px;
    font-style: normal;
}
.GraySet-10 {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 10px;
    color: #666666;
    font-style: normal;
}
.style7 {font-family: Verdana, Arial, Helvetica, sans-serif}
.GraySet-101 { font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 10px;
    color: #666666;
    font-style: normal;
}
.GraySet-101 { font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 10px;
    color: #666666;
    font-style: normal;
}
body,td,th {
    color: #CC0000;
}
-->
</style>
<style type="text/css">
<!--
body,td,th {
    color: #CC0000;
}
.RedSet-11 {font-size: 11px}
.style5 {font-size: 10px}
-->
</style>
<style type="text/css">
<!--
.Gray-10 {
    font-family: Arial;
    font-size: 10px;
    color: #666666;
    font-style: normal;
}
a:link {
    text-decoration: none;
}
a:visited {
    text-decoration: none;
}
a:hover {
    text-decoration: none;
    color: #CC0000;
}
a:active {
    text-decoration: none;
    color: #3300FF;
}
body,td,th {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    color: #666666;
}
body {
    margin-left: 0px;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
}
.FontSet-Gray12 {
    font-size: 12px;
    font-family: Verdana, Arial, Helvetica, sans-serif;
}
.Red-10 {color: #CC0000}
-->
</style>
</head>

<body>
<table width="700" border="0" cellspacing="0" cellpadding="0" align="center">
  <tr>
    <th height="30" align="left" valign="middle" class="Gray-10" scope="col">
      <table width="700" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <th height="20" scope="col">&nbsp;</th>
        </tr>
        <tr>
          <td><img src="../image/logo_docuEasy.gif" width="100" height="104"></td>
        </tr>
      </table></th>
  </tr>
  <tr>
    <th height="30" scope="col"><table width="700" height="30" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <th width="100" height="35" background="../image/double-line.gif" class="Gray-10" scope="col"><div align="center"><a href="../Index.htm" target="_self" class="Gray-10">home</a></div></th>
        <th width="100" class="Gray-10" scope="col"><div align="center"><a href="../web%20pages/Company%20Profile.htm" class="Gray-10">company profile </a></div></th>
        <th width="100" background="../image/double-line.gif" class="Gray-10" scope="col"><div align="center"><a href="../web%20pages/Products.htm" class="Gray-10">products</a></div></th>
        <th width="100" class="Gray-10" scope="col"><div align="center"><a href="../web%20pages/Services.htm" class="Gray-10">services</a></div></th>
        <th width="100" background="../image/double-line.gif" class="Gray-10" scope="col"><div align="center"><a href="../web%20pages/Portfolio.htm" class="Gray-10">portfolio</a></div></th>
        <th width="100" class="Gray-10" scope="col"><div align="center"><a href="../web%20pages/Our%20Clients.htm" class="Gray-10">our clients</a></div></th>
        <th width="100" background="../image/double-line.gif" class="Gray-10" scope="col"><div align="center"><a href="../web%20pages/Contact%20Us.htm" class="Gray-10">contact us</a> </div></th>
      </tr>
    </table></th>
  </tr>
  <tr>
    <th height="5" border="0" cellspacing="5" cellpadding="5" scope="col"><img src="../image/Header-Line.gif" width="700" height="5"></th>
  </tr>
  <tr>
    <th scope="col"><table width="700" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <th width="131" height="280" align="center" valign="top" scope="col">
          <table width="131" border="0" cellspacing="1" cellpadding="1">
            <tr>
              <th height="25" align="left" valign="middle" class="Red-11" scope="col"><div align="left" class="Red-11">Services</div></th>
            </tr>
            <tr>
              <td height="25" align="left" valign="middle" background="../image/button-dot2.gif" class="Red-10"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="../web%20pages/Copies%20Prints.htm" class="Red-10">Copies &amp; Print</a> </td>
            </tr>
            <tr>
              <td height="25" align="left" valign="middle" background="../image/button-dot2.gif" class="Red-10">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="../web%20pages/Binding.htm" class="Red-10">Binding</a></td>
            </tr>
            <tr>
              <td height="25" align="left" valign="middle" background="../image/button-dot2.gif" class="Red-10">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="../web%20pages/Finishing.htm" class="Red-10">Finishing</a></td>
            </tr>
            <tr>
              <td height="25" align="left" valign="middle" background="../image/button-dot2.gif" class="Red-10">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="../web%20pages/CD%20Production.htm" class="Red-10">CD Production</a></td>
            </tr>
            <tr>
              <td height="25" align="left" valign="middle" background="../image/button-dot2.gif" class="Red-10">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="../web%20pages/Lamination.htm" class="Red-10">Lamination</a></td>
            </tr>
            <tr>
              <td height="25" align="left" valign="middle" background="../image/button-dot2.gif" class="Red-10">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="../web%20pages/Graphic%20Design.htm" class="Red-10">Graphic Design</a> </td>
            </tr>
            <tr>
              <td height="25" class="Red-10">&nbsp;</td>
            </tr>
            <tr>
              <td height="25" class="Red-10">&nbsp;</td>
            </tr>
            <tr>
              <td height="17" class="Red-10">&nbsp;</td>
            </tr>
            <tr>
              <th class="Red-10" scope="col">&nbsp;</th>
            </tr>
          </table>
        </th>
        <th width="562" valign="top" scope="col">
          <table width="562" border="0" cellspacing="1" cellpadding="1">
            <tr>
              <th scope="col"><table width="562" border="0" cellspacing="1" cellpadding="1">
                <tr>
                  <th align="left" valign="top" scope="col"><table width="562" border="0" cellspacing="1" cellpadding="1">
                      <tr>
                        <th width="120" scope="col">&nbsp;</th>
                        <th width="428" scope="col"><div align="left" class="GraySet-10">Title</div></th>
                      </tr>
                      <tr>
                        <td>&nbsp;</td>
                        <td class="GraySet-10">Title</td>
                      </tr>
                      <tr>
                        <td>&nbsp;</td>
                        <td class="GraySet-10">Title</td>
                      </tr>
                      <tr>
                        <td>&nbsp;</td>
                        <td class="GraySet-10"><span class="GraySet-101">Title</span></td>
                      </tr>
                      <tr>
                        <td>&nbsp;</td>
                        <td class="GraySet-10"><span class="GraySet-101">Title</span></td>
                      </tr>
                      <tr>
                        <td>&nbsp;</td>
                        <td class="GraySet-10"><span class="GraySet-101">Title</span></td>
                      </tr>
                      <tr>
                        <td>&nbsp;</td>
                        <td class="GraySet-10"><span class="GraySet-101">Title</span></td>
                      </tr>
                      <tr>
                        <td>&nbsp;</td>
                        <td class="GraySet-10"><span class="GraySet-101">Title</span></td>
                      </tr>
                      <tr>
                        <td>&nbsp;</td>
                        <td class="GraySet-10"><span class="GraySet-101">Title</span></td>
                      </tr>
                      <tr>
                        <td height="21">&nbsp;</td>
                        <td class="GraySet-10"><span class="GraySet-101">Title</span></td>
                      </tr>
                  </table></th>
                </tr>
              </table></th>
            </tr>
          </table>
        </th>
      </tr>
    </table></th>
  </tr>
  <tr>
    <th scope="col">&nbsp;</th>
  </tr>
</table>

</body>
</html>


 
Old June 11th, 2005, 06:28 AM
Imar's Avatar
Wrox Author
Points: 70,322, Level: 100
Points: 70,322, Level: 100 Points: 70,322, Level: 100 Points: 70,322, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi there,

It was a bit too much code to diagnose it all, but my guess is that you're mixing templates and pages based on that template.

I see both InstanceEndEditable (should be present in a page based on a template) and TemplateBeginEditable (which should be placed inside the template).

Did you create this page, or did DW do that? What's your intention with this page?

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
 
Old June 13th, 2005, 11:53 AM
Registered User
 
Join Date: Jun 2005
Location: , , .
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi! Imar
Thank you so much for your suggestion. I'll try to recitify this problem.

thiwan :)





Similar Threads
Thread Thread Starter Forum Replies Last Post
Implement HTML elements in my template with Zend snowbydave1 PHP How-To 0 October 25th, 2008 02:00 AM
Create generic XSL Template to create table Venkatachalapathy XSLT 5 March 11th, 2008 07:49 AM
How to create a document template and add db data kenn_rosie VB.NET 2002/2003 Basics 0 March 2nd, 2006 04:42 PM
how to create/use php template file/system junemo Beginning PHP 1 April 23rd, 2004 03:47 PM
How to create HTML page from a dynamic ASP page musharaf Classic ASP Professional 2 March 18th, 2004 09:31 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.