Re: Newsletter-Only Subscriptions for v1.3x
Hey everybody,
Everything seems to be working great. but, I need to remove the text "Enter your email address to subscribe...." altogether. I changed it to blank in the defines. however, on Firefox, Safari, and IE for PC. the spacing behavior was different on each. (surprise!)
Can anyone tell me how to remove that section from the code entirely. so there's no space between the header and the subscribeContent?
thanks so much in advance...
Re: Newsletter-Only Subscriptions for v1.3x
Quote:
Originally Posted by
pensive612
Hey everybody,
Everything seems to be working great. but, I need to remove the text "Enter your email address to subscribe...." altogether. I changed it to blank in the defines. however, on Firefox, Safari, and IE for PC. the spacing behavior was different on each. (surprise!)
Can anyone tell me how to remove that section from the code entirely. so there's no space between the header and the subscribeContent?
thanks so much in advance...
Edit the template file found in templates/yourtemplate/sideboxes/tpl_subscribe.php
It's already set to display an empty string if no text, but on the next line (just before the zen_draw_input_field there's a space, then no-breaking space that may be causing issues for you.
-Ng_
Re: Newsletter-Only Subscriptions for v1.3x
i do believe, that was the exact problem.
thanks NG... :)
Re: Newsletter-Only Subscriptions for v1.3x
Oh NG. I hope this is the last time I have to bother you...
So I've replaced the create_account.php and the customers.php you supplied.
and that part now works great. (been an all day affair for me)
now lastly, I'm getting that "Is your email address correct? It should contain...." error.
I believe its my SEO URLs because when i turn the off, i don't get that. do you know of a way to have my cake and eat it too? my customers want both...
thanks in advance....
Re: Newsletter-Only Subscriptions for v1.3x
Does anyone have a version of this (they could share) that captures name as well as email addy?
My current mailing list software outside Zencart) enables me to send out personalised newsletters, but since name is not captured in this contrib, I have a problem. I'd like to migrate my mailing lists inside Zencart to save the additional maintenance.
Thanks in advance.
Re: Newsletter-Only Subscriptions for v1.3x
I followed all the steps in the readme.txt comming with the extension.
Every step gave me the expected results, but when I insert the final code
if(defined('NEWSONLY_SUBSCRIPTION_ENABLED') &&
(NEWSONLY_SUBSCRIPTION_ENABLED=='true') &&
(NEWSONLY_SUBSCRIPTION_HEADER=='true')) {
include(DIR_WS_MODULES . zen_get_module_directory(FILENAME_SUBSCRIBE_HEADER));
}
my front page displays stops at the point I put my code.
I would appreciate your advice.
S.
Re: Newsletter-Only Subscriptions for v1.3x
Quote:
Originally Posted by
sambinomio
I followed all the steps in the readme.txt comming with the extension.
Every step gave me the expected results, but when I insert the final code
if(defined('NEWSONLY_SUBSCRIPTION_ENABLED') &&
(NEWSONLY_SUBSCRIPTION_ENABLED=='true') &&
(NEWSONLY_SUBSCRIPTION_HEADER=='true')) {
include(DIR_WS_MODULES . zen_get_module_directory(FILENAME_SUBSCRIBE_HEADER));
}
my front page displays stops at the point I put my code.
I would appreciate your advice.
S.
Well i know you did the install in admin or it would stop and not error out at the firs 'defined' check, so I'd say to make sure that modules/yourtemplate/subscibe_header.php is in place.
I've found sometimes working with a custom template you have to copy more than just the header file to the common folder-make sure you have main page template, etc in there.
also, you might try copying the subscribe_header.php file so it is in both modules/subscribe_header.php and modules/yourtemplate/subscribe_header.php
repeat for the tpl_ file (put a copy in template_default as well)
apologies for typos-
-Ng_
Re: Newsletter-Only Subscriptions for v1.3x
Thank you very much for your quick :yes: answer, this morning I followed your advices and
it seems that it works now : suddenly I saw in admin that a part of the path of my sidebox :
"sideboxes/my_template/subscribe.php"
became red...
When I activated my sidebox I can see it in left side. I wanted it in the header... I don't know if it's because I copied files the way you told me that now it's available in left side. I continue trying to understand.
Now I tried to subscribe and I receive the following error message.
"ERROR: Failed sending email to: "" with subject: "Please confirm bonaparto newsletter subscription" Could not instantiate mail function."
Is it maybe something related with smtp config ?
Thank
Re: Newsletter-Only Subscriptions for v1.3x
well... sorry... I talked too quickly... I still have the same problem when adding the code :
<?php
// BEGIN newsletter_subscribe mod 1/1
if(defined('NEWSONLY_SUBSCRIPTION_ENABLED') &&
(NEWSONLY_SUBSCRIPTION_ENABLED=='true') &&
(NEWSONLY_SUBSCRIPTION_HEADER=='true')) {
include(DIR_WS_MODULES . zen_get_module_directory(FILENAME_SUBSCRIBE_HEADER));
}
// END newsletter_subscribe mod 1/1
?>
My page stops displaying...
:schmoll:
I really don't know what I did wrong...
Re: Newsletter-Only Subscriptions for v1.3x
I installed the newest version. I am able to subscribe using the sidebox and everything seems to work for this. However, when I try to subscribe with no email or the same email, the error message appears, but the rest of the page does not load. Can anyone help? https://style-scene.com/shop