header_php.php question(s)
I'm trying to incorporate a three page form into my zen cart store and the problems I have are how to include include files and javascript.
I'm pretty sure the .js should go into the
includes/modules/pages/myformpage/jscript/myjs.js
for includes I've tried to put them on this page:
includes/modules/pages/myformpage/header_php.php
as
Code:
include('path_to_my/include.php');
also tried a variation with the file in the 'modules' directory and use this:
Code:
require(DIR_WS_MODULES . 'include.php');
either way my custom page comes up blank
same thing happens when I try to unset session variables in the header_php.php file or the tpl_myformpage_default.php file:
Code:
unset($_SESSION['myformvar']);
can someone point me in the right direction? Where do I put these things?