Zen Cart Logo
Forums / All Other Contributions/Addons / Newsletter-Only Subscriptions for v1.3x

Newsletter-Only Subscriptions for v1.3x

Views: 295,579

Results 301 to 320 of 1,165
30 Sep 2006, 5:02 AM
#301
fruitfly avatar

fruitfly

New Zenner

Join Date:
Mar 2006
Posts:
17
Plugin Contributions:
0

Newsletter-Only Subscriptions for v1.3x

Ahh! That was it.

You are indeed a Goddess, I don't care what your name here is... ;)

I really appreciate the quick answer and the SUPERB module...

30 Sep 2006, 5:12 AM
#302
notgoddess avatar

notgoddess

Zen Follower

Join Date:
Jan 2005
Location:
Waukee, Iowa
Posts:
206
Plugin Contributions:
0

Re: Newsletter-Only Subscriptions for v1.3x

Thanks. The praise means a lot in an otherwise really crummy week.

-Ng_

5 Oct 2006, 4:32 AM
#303
danielle avatar

danielle

Totally Zenned

Join Date:
Oct 2004
Posts:
973
Plugin Contributions:
0

Re: Newsletter-Only Subscriptions for v1.3x

Hi! Where do I change the text on the page that comes up after someone subscribes? This is the specific text I want to change:

You'll receive notices of newly available products, special offers, and news of upcoming showings.

I found all the other text on that page, but not that sentence!

Thanks!

5 Oct 2006, 4:44 AM
#304
notgoddess avatar

notgoddess

Zen Follower

Join Date:
Jan 2005
Location:
Waukee, Iowa
Posts:
206
Plugin Contributions:
0

Re: Newsletter-Only Subscriptions for v1.3x

In your defined pages editor in admin, or if you don't have that dir writable (which is a good idea security-wise) at:
includes/languages/english/html_includes/your_template/define_subscribe.php

-Ng_

5 Oct 2006, 6:57 AM
#305
danielle avatar

danielle

Totally Zenned

Join Date:
Oct 2004
Posts:
973
Plugin Contributions:
0

Re: Newsletter-Only Subscriptions for v1.3x

NotGoddess:

In your defined pages editor in admin, or if you don't have that dir writable (which is a good idea security-wise) at:
includes/languages/english/html_includes/your_template/define_subscribe.php

-Ng_

Sheesh sorry, I should be in bed :blush: I edited it in the define_subscribe.php file. The subscribe and unsubscribe pages don't show up in my define pages editor in the admin.

Thanks!

5 Oct 2006, 7:04 AM
#306
knuckle_101 avatar

knuckle_101

Totally Zenned

Join Date:
Dec 2005
Location:
Cincinnati Ohio
Posts:
1,034
Plugin Contributions:
3

Re: Newsletter-Only Subscriptions for v1.3x

put those 2 files in the folder with your current template for example.

if you are using a template folder other then classic put it direct

includes/languages/english/html_includes

this is folder is considered the over ride folder.

if your using classic

includes/languages/english/html_cludes/classic

5 Oct 2006, 7:07 AM
#307
danielle avatar

danielle

Totally Zenned

Join Date:
Oct 2004
Posts:
973
Plugin Contributions:
0

Re: Newsletter-Only Subscriptions for v1.3x

knuckle-101:

put those 2 files in the folder with your current template for example.

if you are using a template folder other then classic put it direct

includes/languages/english/html_includes

this is folder is considered the over ride folder.

if your using classic

includes/languages/english/html_cludes/classic

Yep, that's where I put them :D It's no biggie, these aren't files I will need to edit often, it's easy enough to edit them in my cpanel, I'm too lazy to worry about getting them to show up in my admin :lol:

5 Oct 2006, 7:13 AM
#308
knuckle_101 avatar

knuckle_101

Totally Zenned

Join Date:
Dec 2005
Location:
Cincinnati Ohio
Posts:
1,034
Plugin Contributions:
3

Re: Newsletter-Only Subscriptions for v1.3x

Danielle:

Yep, that's where I put them :D It's no biggie, these aren't files I will need to edit often, it's easy enough to edit them in my cpanel, I'm too lazy to worry about getting them to show up in my admin :lol:

Upload to that folder and it will show in define_pages editor.

5 Oct 2006, 7:18 AM
#309
danielle avatar

danielle

Totally Zenned

Join Date:
Oct 2004
Posts:
973
Plugin Contributions:
0

Re: Newsletter-Only Subscriptions for v1.3x

knuckle-101:

Upload to that folder and it will show in define_pages editor.

As I mentioned in my last post, I did! They are in my custom folder, I just double-checked to make sure!

5 Oct 2006, 7:20 AM
#310
danielle avatar

danielle

Totally Zenned

Join Date:
Oct 2004
Posts:
973
Plugin Contributions:
0

Re: Newsletter-Only Subscriptions for v1.3x

Wait...are you saying that if my override folder is named custom, I should still be putting them in includes/languages/english/html_includes, not includes/languages/english/html_includes/custom??? If so, why is that? All the other files in my html_includes/custom folder work perfectly...

5 Oct 2006, 7:22 AM
#311
knuckle_101 avatar

knuckle_101

Totally Zenned

Join Date:
Dec 2005
Location:
Cincinnati Ohio
Posts:
1,034
Plugin Contributions:
3

Re: Newsletter-Only Subscriptions for v1.3x

Danielle:

Wait...are you saying that if my override folder is named custom, I should still be putting them in includes/languages/english/html_includes, not includes/languages/english/html_includes/custom??? If so, why is that? All the other files in my html_includes/custom folder work perfectly...

try it and see.

it will show

wierd isnt it?

5 Oct 2006, 7:25 AM
#312
danielle avatar

danielle

Totally Zenned

Join Date:
Oct 2004
Posts:
973
Plugin Contributions:
0

Re: Newsletter-Only Subscriptions for v1.3x

Nevermind...I should have gone to bed after the last dumb thing I posted...sorry! I'm doing way too many things at once here. You are totally right, I apologize. I could have sworn I had a bunch of files in my custom folder, but I don't, just those two! I'm totally embarassed now...I'm making the dumbest mistakes tonight :blush:

Thanks for being so nice when faced with such stupidity :laugh:

5 Oct 2006, 7:42 AM
#313
knuckle_101 avatar

knuckle_101

Totally Zenned

Join Date:
Dec 2005
Location:
Cincinnati Ohio
Posts:
1,034
Plugin Contributions:
3

Re: Newsletter-Only Subscriptions for v1.3x

Danielle:

Nevermind...I should have gone to bed after the last dumb thing I posted...sorry! I'm doing way too many things at once here. You are totally right, I apologize. I could have sworn I had a bunch of files in my custom folder, but I don't, just those two! I'm totally embarassed now...I'm making the dumbest mistakes tonight :blush:

Thanks for being so nice when faced with such stupidity :laugh:

no biggie glad to be able to help.

11 Oct 2006, 10:10 AM
#314
tiger avatar

tiger

New Zenner

Join Date:
Oct 2006
Posts:
56
Plugin Contributions:
0

Re: Newsletter-Only Subscriptions for v1.3x

Hello. Before i start with my problem i want to say thanks for the great contribution!
I've been trying to install it and everything worked until the last step and i'm not sure what i've done wrong. I want the newsletter to be in the header and so edited the tpl_header file in /includes/templates/YOUR_TEMPLATE/common/ as follows:

<div class="navMainSearch forward"><?php require(DIR_WS_MODULES . 'sideboxes/search_header.php'); ?> <?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 ?> </div> <br class="clearBoth" /> </div>

I then enabled the header function in 'Configuration -> Layout Settings'.

I now get the following error:
Warning: main(includes/templates/template_default/templates/tpl_subscribe_header.php) [function.main]: failed to open stream: No such file or directory in /homepages/16/d113661620/htdocs/eshop/includes/modules/zenzenart/subscribe_header.php on line 20

Fatal error: main() [function.require]: Failed opening required 'includes/templates/template_default/templates/tpl_subscribe_header.php' (include_path='.:/usr/local/lib/php') in /homepages/16/d113661620/htdocs/eshop/includes/modules/zenzenart/subscribe_header.php on line 20

I'm really not sure where i've made a mistake... :cry:

Any help is hugely appreciated! :D

Thanks in advance...

11 Oct 2006, 10:36 AM
#315
tiger avatar

tiger

New Zenner

Join Date:
Oct 2006
Posts:
56
Plugin Contributions:
0

Re: Newsletter-Only Subscriptions for v1.3x

Hi - me again. Just a bit more info. It seems this error is not solely connected to the newsletter appearing in the header. It also appears on the page that returns if an invalid/ or no email is inserted and submit is pressed.
Thanks again for your time....

11 Oct 2006, 10:59 AM
#316
tiger avatar

tiger

New Zenner

Join Date:
Oct 2006
Posts:
56
Plugin Contributions:
0

Re: Newsletter-Only Subscriptions for v1.3x

eek - sorry! found the answer at post 219!! Here's the answer in case it helps anyone else...

@ericpeng
Just copy the tpl_subscribe_* files in your templates/yourtemplate/templates/ directory into template_default and you'll be fine (no need to overwrite the unsubscribe template...you do that in your own template).

Due to an initial misunderstanding of how things work those files weren't added to the default_template folder.

11 Oct 2006, 11:13 AM
#317
notgoddess avatar

notgoddess

Zen Follower

Join Date:
Jan 2005
Location:
Waukee, Iowa
Posts:
206
Plugin Contributions:
0

Re: Newsletter-Only Subscriptions for v1.3x

Glad you figured it out, Tiger.

-Ng_

11 Oct 2006, 1:37 PM
#318
tiger avatar

tiger

New Zenner

Join Date:
Oct 2006
Posts:
56
Plugin Contributions:
0

Re: Newsletter-Only Subscriptions for v1.3x

Hello (AGAIN - I know :blush: ).

Now that i've got it working, the contribution looks great - thanks heaps ng. I was just wondering - is there anyway to automatically send a discount coupon to users who subscribe?

Thanks

11 Oct 2006, 4:41 PM
#319
notgoddess avatar

notgoddess

Zen Follower

Join Date:
Jan 2005
Location:
Waukee, Iowa
Posts:
206
Plugin Contributions:
0

Re: Newsletter-Only Subscriptions for v1.3x

tiger:

is there anyway to automatically send a discount coupon to users who subscribe?

Well, I believe there's a way to send one to new customers w/ the welcome letter, so it would just be a matter of finding that and incorporating it in. I've got a few other things on the plate but I'll get it on the list.

-Ng_

11 Oct 2006, 9:38 PM
#320
tiger avatar

tiger

New Zenner

Join Date:
Oct 2006
Posts:
56
Plugin Contributions:
0

Re: Newsletter-Only Subscriptions for v1.3x

You're a star! Thanks gn. I'll look into it too and if i find the (ish)way i'll post it here... (Reckon you'll figure it out way before me though :D !)
Good night