How to take Backup from MongoDB and Restore to MongoDB
This will take backup of your passed database name, to the passed folder. It…
April 12, 2020
In our previous post, where we saw How to configure comments module
In this post, we will see how we can use Rules module to get email notification for each comment posted.
That is it. Now, when someone write a comment. You will get an email notification. Rules is very powerful and handy module. It has lot of workflows, and you can configure email notification for a number of workflows.
Important to note that, this module is not having good documentation. And to add tokens or the variables in the mail, traditional tokens will not work. You need to use twig conventions.
See examples:
{% raw %}
{{ node.title }}
{% endraw %}
{% raw %}
{{ comment.entity_id.entity | entity_url }}
{% endraw %}
{% raw %}
New comment posted at {{ comment.entity_id.entity | entity_url }}
{% endraw %}
Hope it helps. Thanks for reading…
This will take backup of your passed database name, to the passed folder. It…
You might need to put sudo before above command. The command will show details…
Assuming you have a java project and is using Visual Studio Code as IDE. All of…
Introduction There might be a situation when you are doing some changes in the…
Introduction Javascript is not a strict type language. We can use a variable to…
So, you want to run your code in parallel so that your can process faster, or…
Introduction Strapi is a backend system provides basic crud operations with…
Introduction I had to create many repositories in an Github organization. I…
Introduction I was trying to download some youtube videos for my kids. As I have…
Introduction In this post, we will explore some useful command line options for…
Introduction In this post, we will see how we can apply a patch to Python and…
Introduction We will introduce a Package Manager for Windows: . In automations…