PTemplate addToFooter / Header methods