Portal Engine Questions on portal engine and web parts.
Version 5.x > Portal Engine > Unsubscribe macro - doesn't work in web pages or newsletter archive module? View modes: 
User avatar
Member
Member
joeh42 - 6/29/2011 9:49:19 AM
   
Unsubscribe macro - doesn't work in web pages or newsletter archive module?
I used the unsubscribe macro in a newsletter. However, I also wanted to make the newsletter available on the web.

I added the newsletter as static html to a blank page. The unsubscribe macro wouldn't resolve though.

So I made the newsletter module available to all authenticated users, and put in place a newsletter archive web part. The macro wouldn't resolve there either though.

Is there a web part or way to make the unsubscribe link work on the web page, or do I need to develop custom code?

My assumption is that Kentico could match the authenticated user's email address to the subscriber in the newsletter.

Does anyone have any feedback on this?

Thanks!!!
Joe Hoppe

User avatar
Member
Member
kentico_michal - 7/4/2011 1:01:39 AM
   
RE:Unsubscribe macro - doesn't work in web pages or newsletter archive module?
Hello Joe,

The unsubscription macro is resolved only in the Unsubscription request template by default.

If you need to generate the unsubscription link, you can easily create the link manually in the following format:

< Unsubscription page URL>?subscriberguid=<guid>&newsletterguid=<guid>

Best regards,
Michal Legen

User avatar
Member
Member
joeh42 - 7/7/2011 11:39:57 AM
   
RE:Unsubscribe macro - doesn't work in web pages or newsletter archive module?
Kentico should consider making the macro available to the whole site.

Thanks!

User avatar
Member
Member
kentico_michal - 7/8/2011 3:56:39 AM
   
RE:Unsubscribe macro - doesn't work in web pages or newsletter archive module?
Hello,

This behavior is currently by design. I have set it as a new requirement and we will consider this feature for a future version of Kentico CMS.

Best regards,
Michal Legen