Originally Posted by
raverX
i gave up on that module, it was annoying...
just hacked up the contacts page script to do what i wanted it to do...
you need to understand forms to some extent, tho ZenCart has functions to do most things which are pretty easy to understand..
first look in /includes/templates/theme_name/templates/tpl_contact_us_default.php
copy this to whatever you want your new page to be called (in my case 'vip')
sp tpl_vip_default.php
then edit it to suit your requirements
then goto /includes/modules/pages/contact_us/
copy that folder to whatever you called your previous one
ie: /includes/modules/pages/vip/
then edit 'header_php.php' - this will process your form when you POST to it, you will need to match the variable names to what you put in the tpl file
you may also need to go to /includes/languages/english/html_includes and copy define_contact_us.php to define_name.php (ie: define_vip.php)
you will also need to go to /includes/languages/english and copy contact_us.php to the same name (ie: vip.php)
I think that's all I did.. there may have been one other file that needs changing..
I've attached a copy of the 4 files mentioned for anyone who wants to use them as a reference.. just ignore the ladym folder as that's the source tree for the project i was working on..
Bookmarks