Skip to main content
June 17, 2006
Question

Template deletes Recordsets

  • June 17, 2006
  • 2 replies
  • 356 views
This is the Template page code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
" http://www.w3.org/TR/html4/loose.dtd">
<!-- DW6 -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<!-- TemplateBeginEditable name="doctitle" -->
<title>LSE Link for LSE employees</title>
<!-- TemplateEndEditable -->
<link href="../css/lseemployee.css" rel="stylesheet" type="text/css" />

<!-- TemplateBeginEditable name="head" --><!-- TemplateEndEditable -->
</head>
<body>
<div id="navbar"><a href="../welcome.htm">Home</a> <a href="#">News and Events</a> <a href="../admin/logintoast.php">Forum </a><a href="../admin/noticeboard.php">Noticeboard </a><a href="../pensioners/pensioners.php">LSE Pensioners area </a><a href="mailto:admin@lselink.co.uk">Contact </a><a href="#">From the CEO</a><a href="../admin/reportfault.php">Report a fault</a>
</div>
<div id="pagebanner"></div>
<!-- Begin Wrapper-->
<div id="wrapper">
<div id="fullpage"><br />
<!-- TemplateBeginEditable name="body" -->
<h1 align="center">Welcome to LSE Employee</h1>
<p align="center"> </p>
<p>This Site is to benefit current and past LSE employees and their families.</p>
<p>As well as providing a way for LSE to communicate with it's employees the Site is also intended to enable employees past and present to communicate with each other. For this we have a Forum and also a Noticeboard. </p>
<p>All employees are aware of LSE's rich history and a function of the Site is share memories, both by images and also by text.</p>
<p>There are opportunities for the LSE employee to contribute to the Site and also a special feature, to submit suggestions to assist the business to succeed in the present. </p>
<p>We hope you enjoy visiting the Site many times. If you have any ideas to enhance the service then please contact us. </p>
<p align="center"> </p>
<p align="center"> </p>
<p align="center"> </p>
<p align="center"> </p>
<p align="center"></p>
<!-- TemplateEndEditable -->
</div>
<div id="siteInfo"><a href="../privacy.htm">Privacy Statement</a> |<a href="../terms.htm">Terms of use for Exchange</a><a href="mailto:admin@lselink.co.uk"> Contact Us</a> |&copy;2006 LSE Employee </div>
<!--End Wrapper-->
</div>
</body>
</html>

I make a new page from the Template, convert it to a PHP extension then buid a Recordset on the page.

When the Template is updated, the Recordset is removed from every page.

I have been doing this for some time with out any problem but now I can't update without lossing all my work

As you can see, there is no PHP or any other code above the HTML region and the Child pages all have "codeOutsideHTMLIsLocked="false" so there should be no problem.

Any ideas?
This topic has been closed for replies.

2 replies

Inspiring
June 18, 2006
How many child pages are hanging off this template?

--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================


"Murray *ACE*" <forums@HAHAgreat-web-sights.com> wrote in message
news:e743vj$6g0$1@forums.macromedia.com...
> That's because your template page is hosed - it has no <html> tag. I have
> no idea how you got that to happen, but try changing this -
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
> " http://www.w3.org/TR/html4/loose.dtd">
> <!-- DW6 -->
> <head>
>
> to this -
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
> " http://www.w3.org/TR/html4/loose.dtd">
> <html>
> <!-- DW6 -->
> <head>
>
>
> --
> Murray --- ICQ 71997575
> Adobe Community Expert
> (If you *MUST* email me, don't LAUGH when you do so!)
> ==================
> http://www.dreamweavermx-templates.com - Template Triage!
> http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
> http://www.dwfaq.com - DW FAQs, Tutorials & Resources
> http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
> ==================
>
>
> "stewmca" <webforumsuser@macromedia.com> wrote in message
> news:e70mbp$a0j$1@forums.macromedia.com...
>> This is the Template page code:
>> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
>> " http://www.w3.org/TR/html4/loose.dtd">
>> <!-- DW6 -->
>> <head>
>> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"
>> />
>> <!-- TemplateBeginEditable name="doctitle" -->
>> <title>LSE Link for LSE employees</title>
>> <!-- TemplateEndEditable -->
>> <link href="../css/lseemployee.css" rel="stylesheet" type="text/css" />
>>
>> <!-- TemplateBeginEditable name="head" --><!-- TemplateEndEditable -->
>> </head>
>> <body>
>> <div id="navbar"><a href="../welcome.htm">Home</a> <a href="#">News and
>> Events</a> <a href="../admin/logintoast.php">Forum </a><a
>> href="../admin/noticeboard.php">Noticeboard </a><a
>> href="../pensioners/pensioners.php">LSE Pensioners area </a><a
>> href="mailto:admin@lselink.co.uk">Contact </a><a href="#">From the
>> CEO</a><a
>> href="../admin/reportfault.php">Report a fault</a>
>> </div>
>> <div id="pagebanner"></div>
>> <!-- Begin Wrapper-->
>> <div id="wrapper">
>> <div id="fullpage"><br />
>> <!-- TemplateBeginEditable name="body" -->
>> <h1 align="center">Welcome to LSE Employee</h1>
>> <p align="center"> </p>
>> <p>This Site is to benefit current and past LSE employees and their
>> families.</p>
>> <p>As well as providing a way for LSE to communicate with it's
>> employees
>> the Site is also intended to enable employees past and present to
>> communicate
>> with each other. For this we have a Forum and also a Noticeboard. </p>
>> <p>All employees are aware of LSE's rich history and a function of
>> the
>> Site is share memories, both by images and also by text.</p>
>> <p>There are opportunities for the LSE employee to contribute to the
>> Site
>> and also a special feature, to submit suggestions to assist the business
>> to
>> succeed in the present. </p>
>> <p>We hope you enjoy visiting the Site many times. If you have any
>> ideas
>> to enhance the service then please contact us. </p>
>> <p align="center"> </p>
>> <p align="center"> </p>
>> <p align="center"> </p>
>> <p align="center"> </p>
>> <p align="center"></p>
>> <!-- TemplateEndEditable -->
>> </div>
>> <div id="siteInfo"><a href="../privacy.htm">Privacy Statement</a>
>> |<a
>> href="../terms.htm">Terms of use for Exchange</a><a
>> href="mailto:admin@lselink.co.uk"> Contact Us</a> |&copy;2006 LSE
>> Employee
>> </div>
>> <!--End Wrapper-->
>> </div>
>> </body>
>> </html>
>>
>> I make a new page from the Template, convert it to a PHP extension then
>> buid a
>> Recordset on the page.
>>
>> When the Template is updated, the Recordset is removed from every page.
>>
>> I have been doing this for some time with out any problem but now I can't
>> update without lossing all my work
>>
>> As you can see, there is no PHP or any other code above the HTML region
>> and
>> the Child pages all have "codeOutsideHTMLIsLocked="false" so there should
>> be no
>> problem.
>>
>> Any ideas?
>>
>
>


Inspiring
June 18, 2006
That's because your template page is hosed - it has no <html> tag. I have
no idea how you got that to happen, but try changing this -

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

to this -

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


--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================


"stewmca" <webforumsuser@macromedia.com> wrote in message
news:e70mbp$a0j$1@forums.macromedia.com...
> This is the Template page code:
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
> " http://www.w3.org/TR/html4/loose.dtd">
> <!-- DW6 -->
> <head>
> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
> <!-- TemplateBeginEditable name="doctitle" -->
> <title>LSE Link for LSE employees</title>
> <!-- TemplateEndEditable -->
> <link href="../css/lseemployee.css" rel="stylesheet" type="text/css" />
>
> <!-- TemplateBeginEditable name="head" --><!-- TemplateEndEditable -->
> </head>
> <body>
> <div id="navbar"><a href="../welcome.htm">Home</a> <a href="#">News and
> Events</a> <a href="../admin/logintoast.php">Forum </a><a
> href="../admin/noticeboard.php">Noticeboard </a><a
> href="../pensioners/pensioners.php">LSE Pensioners area </a><a
> href="mailto:admin@lselink.co.uk">Contact </a><a href="#">From the
> CEO</a><a
> href="../admin/reportfault.php">Report a fault</a>
> </div>
> <div id="pagebanner"></div>
> <!-- Begin Wrapper-->
> <div id="wrapper">
> <div id="fullpage"><br />
> <!-- TemplateBeginEditable name="body" -->
> <h1 align="center">Welcome to LSE Employee</h1>
> <p align="center"> </p>
> <p>This Site is to benefit current and past LSE employees and their
> families.</p>
> <p>As well as providing a way for LSE to communicate with it's
> employees
> the Site is also intended to enable employees past and present to
> communicate
> with each other. For this we have a Forum and also a Noticeboard. </p>
> <p>All employees are aware of LSE's rich history and a function of the
> Site is share memories, both by images and also by text.</p>
> <p>There are opportunities for the LSE employee to contribute to the
> Site
> and also a special feature, to submit suggestions to assist the business
> to
> succeed in the present. </p>
> <p>We hope you enjoy visiting the Site many times. If you have any
> ideas
> to enhance the service then please contact us. </p>
> <p align="center"> </p>
> <p align="center"> </p>
> <p align="center"> </p>
> <p align="center"> </p>
> <p align="center"></p>
> <!-- TemplateEndEditable -->
> </div>
> <div id="siteInfo"><a href="../privacy.htm">Privacy Statement</a> |<a
> href="../terms.htm">Terms of use for Exchange</a><a
> href="mailto:admin@lselink.co.uk"> Contact Us</a> |&copy;2006 LSE Employee
> </div>
> <!--End Wrapper-->
> </div>
> </body>
> </html>
>
> I make a new page from the Template, convert it to a PHP extension then
> buid a
> Recordset on the page.
>
> When the Template is updated, the Recordset is removed from every page.
>
> I have been doing this for some time with out any problem but now I can't
> update without lossing all my work
>
> As you can see, there is no PHP or any other code above the HTML region
> and
> the Child pages all have "codeOutsideHTMLIsLocked="false" so there should
> be no
> problem.
>
> Any ideas?
>


June 20, 2006
Thank you for taking the time to review and answer my query - I thought it might be something obvious.

I now have 35 dynamic child pages on this template and don't really want to have to start all over again. When I alter the code to include the HTML tag, the Recordsets are stripped again

Any suggestion?