Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
0

Template deletes Recordsets

New Here ,
Jun 17, 2006 Jun 17, 2006

Copy link to clipboard

Copied

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?
TOPICS
Server side applications

Views

326
Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jun 18, 2006 Jun 18, 2006

Copy link to clipboard

Copied

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?
>


Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 20, 2006 Jun 20, 2006

Copy link to clipboard

Copied

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?

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jun 20, 2006 Jun 20, 2006

Copy link to clipboard

Copied

LATEST
Make a backup of the site.

Make the change to the template page, save it, and refuse the page updates.

Open each page in Notepad, and add the <html> tag (I forget if there was a
properly located </html> tag - if there was not, add it too).

I think you will be healed now.

--
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:e799eb$lu1$1@forums.macromedia.com...
> 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?
>


Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jun 18, 2006 Jun 18, 2006

Copy link to clipboard

Copied

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?
>>
>
>


Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines