into:
admin -> main menu -> create additional customer fields
if i leave the field empty (as i saw accidentally) then click on "go to next step button"
it gives the error i said befor
into:
admin -> main menu -> create additional customer fields
if i leave the field empty (as i saw accidentally) then click on "go to next step button"
it gives the error i said befor
Ahhh ! now this is what I call precision.if i leave the field empty (as i saw accidentally) then click on "go to next step button"
Confirmed bug - isn't just great to be a victim of the zen_redirect module ?
Not my bug by the way - it's from the Zen Team (as mentioned before already). However, here's a special fix for you since this might not be the case for everyone so I cannot update my package for this particular reason:
In admin/additional_customers.php file,
find:
replace with:PHP Code:if (is_array($error) && zen_not_null($error)) {
foreach ($error as $key => $val) {
$val = zen_output_string_protected($val);
$messageStack->add_session($val, 'error');
zen_redirect(zen_href_link(FILENAME_ADDITIONAL_CUSTOMERS_FIELDS, '', 'NONSSL'));
} // End of foreach statement.
} // End of if statement.
} // End of action statement.
This should not cause you anymore trouble.PHP Code:if (is_array($error) && zen_not_null($error)) {
foreach ($error as $key => $val) {
$val = zen_output_string_protected($val);
$messageStack->add_session($val, 'error');
} // End of foreach statement.
zen_redirect(zen_href_link(FILENAME_ADDITIONAL_CUSTOMERS_FIELDS, '', 'NONSSL'));
} // End of if statement.
} // End of action statement.
![]()
Post edited above. Make sure to replace my latest edited modifications.
still giving the error but if the problem is restricted to this no problem.
i just liked to know if the new version you posted is working because of what i said that the field doesn't show in the login box except for the title of the box(additonal customer fields..)
Very well. Use mine. Not a very big fan of zen_redirect module myself:still giving the error
This should do the trick.PHP Code:if (is_array($error) && zen_not_null($error)) {
foreach ($error as $key => $val) {
$val = zen_output_string_protected($val);
$messageStack->add_session($val, 'error');
echo '<script>window.location=\'' . zen_href_link(FILENAME_ADDITIONAL_CUSTOMERS_FIELDS, '', 'NONSSL'). '\'</script>';
} // End of foreach statement.
} // End of if statement.
} // End of action statement.
Again, please read the upgrade and changelog documentation text regarding all affected changes for this MOD.i just liked to know if the new version you posted is working because of what i said that the field doesn't show in the login box except for the title of the box(additonal customer fields..)
Update:
A new update has just been released from my site. As usual, for those who needs to upgrade, simply follow the upgrade and changelog documentation text.
Note: The update does NOT involve the latest redirect modifications above this thread (due to differences between web servers on how redirections between browsers and servers are being configured).
I've the teh mod working almost perfectly the only issues I have is on the customer side of the site my two additional fields shows up twice and on the admin side only once (like it should be). Secondly, I was wondering if there is any way to make my new fields show up on the invoice. Any help would be appreciated!
Same response as here:
http://www.zen-cart.com/forum/showpo...&postcount=185
No one did posted these amended readings yet.
I don't know where and how to use PHP bbcode
Begin with:
[ php ]
End with:
[ /php ]
(without spaces between those tags).
Like this:
PHP Code:your codes here ...
![]()