an ASP.NET Open Source CMS & eCommerce platform
Search:
Skip Navigation LinksHome > DotShoppingCart Forums > Support > Using DotShoppingCart > Email Campaign - how to add more types - subscr...
Last Post 5/27/2010 11:55:15 AM By lukezy. 1 replies.
5/21/2010 1:02:30 AM
Applied
Posts: 93
Joined: 9/18/2009
Email Campaign - how to add more types - subscriber templates - Subscribe Block behaviour
1. More Types
 
In the stored procedure [DSC_EmailCampaign_GetAllMailingList] the SQL returns a result set of types 1,2 and 3.
 
The last bit of the s/p returns type '4 + emailListId', where 'emailListId' refers to table [DSC_Email_List_lkp] which contains one entry for 'News Letter'.
 
Can you confirm type '4' and above is for use with the 'subscribe' block?
 
I want to extend the options for example by adding 'Last 6 months active subscribers'.
 
Can I simply add more SQL and use type '4' and amend the SQL for '4 + emailListId' to '5 + emailListId'? Where else is 'type' used?
 
2. Subscriber Templates
 
For additional templates, I assume I have to manually add records to table [DSC_Email_List_lkp]  and then amend the Subscribe Block to offer the user a choice?
 
3. Subscribe Block
 
When I add a 'subscribe block' and then 'add' an email address using that block on a live page, the system then displays another page, 'Home > Subscribe', with an email box and 'subscribe' button.
 
Is this the correct behaviour? Why not stay on the same page as the 'subscribe block' is placed on?
 
5/27/2010 11:55:15 AM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: Email Campaign - how to add more types - subscriber templates - Subscribe Block behaviour
Yes to 1 and 2.
Re: 3, I think the subscribe block does just a simple redirect to the subscribe page. The reason is that the subscribe page will do the email validation. We don't want to the block to do the postback.
DotShoppingCart Staff