Hi Bryan,
Originally Posted by
bn17311
so is this the correct way ?
That's generally right. Obviously you've misplaced the closing bracket in the following:
PHP Code:
if ($_GET['main_page'] == 'contact_us') && CONTACT_US_VALIDATION == 'true' {
Should be
PHP Code:
if ($_GET['main_page'] == 'contact_us' && CONTACT_US_VALIDATION == 'true') {
I took a look at the code and probably will release a new version of that module. It uses some silly core file modifications which aren't necessary if an observer is used. Actually the override core code just loads the functions file which is already preloaded by the extra_functions functionality of Zen Cart so it's not actually necessary at all. Funny how people hack things together sometimes without asking "why?" :)
All the best...
Conor
ceon
Bookmarks