+1 571-297-6383 | info@sonjara.com

Enabling Blog Subscriptions

With blog subscriptions, users can enter an email address and sign up to receive an email notification whenever a new blog post is added. Blog subscriptions are handled on a per-blog basis. Follow these steps to make blog subscriptions available.

Step 1 - Configure the blog subscription confirmation and blog post notification email templates.

In Fakoli Admin,go to Site Configuration > Application Settings > Blogs and check the box "allow Blog Subscriptions.

Then, navigate to Email Management > Email Templates and create two email templates using the following samples as a starting point. Feel free to edit subject line and message as needed, but make sure the template names are exactly as shown below.

Field Value
Class BlogSubscriber
Name blog_subscription
Purpose This is the email sent to subscribers confirming their subscription.
Sender Email The sender email address. This should be an email address that is configured on your domain, such as no-reply@yourwebsite.org.
Recipients [subscriber_email]
Subject The subject of the notification email, such as Confirming Your Subscription to [blog_title]
Message The body of the email. Use the following as an example.

This is an automated message from yourwebsite.org. You have successfully subscribed to the [blog_title] blog.

You will receive an email whenever there is a new post published.

To unsubscribe, follow this link: http://www.yourwebsite.org/action/
blog/unsubscribe?blog_subscriber_id=[blog_subscriber_id].

 

Field Value
Class BlogSubscriber
Name blog_published
Purpose This is the email sent to blog subscribers whenever a new blog post is published.
Sender Email The sender email address. This should be an email address that is configured on your domain, such as no-reply@yourwebsite.org.
Recipients [subscriber_email]
Subject The subject of the notification email, such as New Post in the Yourwebsitename.org [blog_title] blog
Message The body of the email. Use the following as an example.

This is an automated message from the yourwebsitename.org website. A new post has been published on the [blog_title] blog. Follow this link to read it. http://www.yourwebsitename.org/[blog_identifier]?article_id= [article_id]

You are receiving this message because you subscribed to the International Tax Policy News blog. To unsubscribe, please follow this link: http://www.itpf.org/action/blog/ unsubscribe?blog_id=[blog_id]&blog_subscriber_id= [blog_subscriber_id]

Step 2 - Configure the blog_identifier and blog_title merge codes used in the email templates.

In Fakoli Admin, navigate to Email Management > Merge Codes and configure the following merge codes.

Field Value
Class Name BlogSubscriber
Name blog_identifier
Description Blog identifier, needed to provide a URL to the blog post
Map Blog.identifier

 

Field Value
Class Name BlogSubscriber
Name blog_title
Description Blog title, used to provide the title of the blog in subscription confirmation and new post notification emails.
Map Blog.title

Step 3 - Enable the blog subscriber form.

Make sure the blog_subscriber_form component page is enabled and added to the necessary section(s).

Step 4 - Make the subscription link available to your users.

Make the blog subscription option available to your users through the URL www.yoursitename.org/action/blog/subscribe?blog_id=x (replace x with the blog's primary key from the database).


Add CMS-Editable Lookup Text to Your Code Pages » « Back to Contents Page
 

Comments

* indicates required field