Portal Engine Questions on portal engine and web parts.
Version 5.x > Portal Engine > add checkbox to step 3 of newsletter issue creation View modes: 
User avatar
Member
Member
gatsby0121 - 4/14/2011 2:19:41 AM
   
add checkbox to step 3 of newsletter issue creation
Is there a way to add a checkbox to step 3 of creating a new newsletter issue? What file is that in?

And second question, I need to save a rendered html file of the issue to a file, before sending the newsletter out, where would I do that?

User avatar
Kentico Developer
Kentico Developer
kentico_ivanat - 4/14/2011 3:26:31 AM
   
RE:add checkbox to step 3 of newsletter issue creation
Hi,

the step 3 represents file:
~/CMSModules/Newsletters/Tools/Newsletters/Newsletter_Issue_New_Send.aspx

In the code behind of above file is method btnFinish_Click, which sends the newsletter issue.

So you could implement your code for storing html code to file in this method for example.

You could get the issue using:

Issue newsletterIssue = IssueProvider.GetIssue(newsletterIssueId);

and the emailBody using:

string emailBody = IssueProvider.GetEmailBody(...);

Best regards,
Ivana Tomanickova

User avatar
Member
Member
gatsby0121 - 4/14/2011 11:49:14 AM
   
RE:add checkbox to step 3 of newsletter issue creation
Thanks, this worked perfectly.