close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Apply template to page removes code outside of html tag

Thread began 11/21/2013 8:45 pm by evansg7124312885 | Last modified 11/26/2013 11:31 am by evansg7124312885 | 865 views | 5 replies

evansg7124312885

Apply template to page removes code outside of html tag

Pages that I create in Data Bridge require template to be applied after creation of the pages. I have noticed a new problem when I do this in that when the template is applied, all content outside of the HTML tag is removed.

The code that would be removed in template application is:

<?php require_once("../webassist/form_validations/wavt_validatedform_php.php"); ?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">

I am not worried about lines 2 and 3, they appear in the applied template, but line 1 appears unique to the page.

What is the correct way to handle this? Should I add this code to the template or is there a way to replace it after application of the template removes it?

Any input is appreciated,

Gary E

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...