Add unsubscribe link to ContentSubscription

Bob Haring asked on June 8, 2015 11:24

Hi all,

I have a blog and I added the content subscription webpart on that blog. The webpart is configured to send a notification email whenever a new blogpost has been added, this works fine.

The issue I have run into is how to unsubscribe from the content notification. I know that in the kentico back-end, you can go to you profile page -> notifications and there you can unsubscribe from the notification.

What I want is a link in the notification email template where a user can unsubscribe to the content subscription. I have tried the macro {%unsubscribelink%} but no success. Does anyone have an idea to implement this?

Much appreciated.

Recent Answers


Petar Kozjak answered on June 8, 2015 13:28 (last edited on December 10, 2019 02:30)

Hi,

not sure will it work for you, but it could give you some ideas how you can create your custom link. You need to create an unsubscribe page: <a href="http://{% CurrentSite.SiteDomainName |(identity)GlobalAdministrator%}">Click here to unsubscribe</a>

0 votesVote for this answer Mark as a Correct answer

Bob Haring answered on June 10, 2015 16:27

Thanks for your reply Petar,

The problem is that there is currently no content unsubscription webpart. There is one for forum and newsletters but none for content subscription.

I have decided to customize the My Accounts webpart to show a, "notification manager", as the notification grid that's shown in profile page -> notifications is available there.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.