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"
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,