kornikopic
User
 Platinum Boarder
| Posts: 661 |   | Karma: 11
|
Re:"No Overwrite" for Subscriber Importing and Adding - 2008/05/16 18:57
Hello afatac,
I see what you mean. You can display when an email already exists.
Edit the file class.subscribers.php in the directory <joomla>/administrator/components/com_acajoom/classes/
Find the lines :
| Code: | if ($subscriberId<1) {
$erro->ck = subscribers::insertSubscriber($subscriber, $subscriberId);
$erro->Eck(__LINE__ , '8650');
}
|
Replace by :
| Code: | if ($subscriberId<1) {
$erro->ck = subscribers::insertSubscriber($subscriber, $subscriberId);
$erro->Eck(__LINE__ , '8650');
} else {
echo '<br />'.acajoom::printM('red' , 'Email already exists: ' . $subscriber->email);
}
|
*** Please, read our official documentation before posting. Thank you ***
Best regards, Jonathan |
|
|
| | To post on the forum you need to sign in. |