No I never recieved one? I did a test entry again and the person asking gets an email but the admin doesnt? Thanks!
make sure the following section of code is in:
includes/modules/pages/links_submit/header_php.php
PHP Code:
// build the message content
$name = $links_contact_name;
$email_text = sprintf(EMAIL_GREET_NONE, $name);
$html_msg['EMAIL_GREETING'] = str_replace('\n','',$email_text);
$email_text .= EMAIL_WELCOME;
$html_msg['EMAIL_WELCOME'] = str_replace('\n','',EMAIL_WELCOME);
$email_text .= EMAIL_TEXT . EMAIL_CONTACT . EMAIL_WARNING;
$email_store_text = EMAIL_OWNER_TEXT . $links_title . "\n\n" . $links_url . "\n\n" . $links_description;
// Prepare HTML-portion of message
$html_msg['EMAIL_MESSAGE_HTML'] = str_replace('\n','',EMAIL_TEXT);
$html_msg['CONTACT_US_OFFICE_FROM'] = OFFICE_FROM . ' ' . $name . '<br />' . OFFICE_EMAIL . '(' . $links_contact_email . ')';
$html_msg['EXTRA_INFO'] = $extra_info['HTML'];
zen_mail($name, $links_contact_email, EMAIL_SUBJECT, $email_text, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS, $html_msg, 'Link Exchange');
zen_mail(STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS, EMAIL_OWNER_SUBJECT, $email_store_text, $name, $links_contact_email, $html_msg, 'Link Exchange');
Yep, This is what i have:
PHP Code:
// build the message content
$name = $links_contact_name;
$email_text = sprintf(EMAIL_GREET_NONE, $name);
$email_text .= EMAIL_WELCOME;
$email_text .= EMAIL_TEXT . EMAIL_CONTACT . EMAIL_WARNING;
$email_store_text = EMAIL_OWNER_TEXT . $links_title . "\n\n" . $links_url . "\n\n" . $links_description;
// Prepare HTML-portion of message
$html_msg['EMAIL_GREETING'] = str_replace('\n','',$email_text);
$html_msg['EMAIL_WELCOME'] = str_replace('\n','',EMAIL_WELCOME);
$html_msg['EMAIL_MESSAGE_HTML'] = str_replace('\n','',EMAIL_TEXT);
$html_msg['CONTACT_US_OFFICE_FROM'] = OFFICE_FROM . ' ' . $name . '<br />' . OFFICE_EMAIL . '(' . $links_contact_email . ')';
$html_msg['EXTRA_INFO'] = $extra_info['HTML'];
zen_mail($name, $links_contact_email, EMAIL_SUBJECT, $email_text, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS, $html_msg, 'Link Exchange');
zen_mail(STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS, EMAIL_OWNER_SUBJECT, $email_store_text, $name, $links_contact_email, $html_msg, 'Link Exchange');
zen_redirect(zen_href_link(FILENAME_LINKS_SUBMIT, 'action=success'));
}
}
// links breadcrumb
Clyde, I feel like a ######## nowWhen the web host set up my Zencart they must have miss typed my email...... I was woundering why I never recieve an email......
thanks agian your a life saver!
Thank you for finding this and letting me know.
I have fixed this and have been trying to add the box at the bottom to add the image url by the person submitting. I followed the advice you gave oxycottin
"Add the necessary define statements for that field to:
includes/languages/english/extra_definitions/links_manager_defines.php
Add the code necessary to draw the field in:
includes/templates/YOUR_TEMPLATE/templates/tpl_links_submit_default.php"
and I am still unable to get the box to show up..
DAISIE
any advice?
Thank you for your time and assistance!
Just unzip the attached and upload the includes folder to your server
Attachment 2612
Last edited by clydejones; 31 Dec 2009 at 02:31 AM.
Thank you for sending this. I did as you instructed and I am still unable to see the box. Have I done something wrong?
Thank you,
Bookmarks