Is there a way to add to the template from a page?
Like in zend framework we have a <?$this->headscript();?> in the layout(template) and if I have a need to load a validation script ,that needs to be in head, on pages with forms we add the to the page <?$this->headscript()->appendScript(â/js/jquery.validation.jsâ);?>
Has anyone done anything similar. Sorry I inherited a Modx site after a Developer walked away from a project. So I am OJT for this customer.
/edit
Thx splittingred that did the trick
Eric