GithubHelp home page GithubHelp logo

fwilleke80 / plg_system_notifynewcontent Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 24 KB

Joomla! 5 plugin that grants users the option to get an email notification when a new article is published.

License: GNU General Public License v2.0

PHP 100.00%
joomla-plugin joomla-extension notifications

plg_system_notifynewcontent's Introduction

Notify on new content

Joomla! 5 plugin

What is it?

This plugin helps keeping your users up to date when you post new content to your Joomla! website by sending each user a notification email.

What does it do?

On installation, this plugin creates a custom user field "Notify on new content". Users can choose in their profile whether they want to receive an email.

When an article is created or edited, an additional tab "Notify users" is displayed (it should automatically be checked if the article is in a monitored category). Check or uncheck the checkbox in it. If checked, all users that have "Notify on new content" enabled will receive an email.

Configuration

Go to Extensions >> Plugins to configure the plugin. You can e.g. select the category to monitor, and compose the mail subject and body.

Mail template

For the mail body you can use the following placeholders:

  • {ARTICLE_PUBLISH_DATE} - The date when the article was published
  • {ARTICLE_MODIFIED_DATE} - The date when the article was modified
  • {ARTICLE_CATEGORY} - The name of the article's category
  • {ARTICLE_TITLE} - The title of the article
  • {ARTICLE_LINK} - The SEF link to the article
  • {ARTICLE_INTROTEXT} - The article's intro text
  • {USERNAME} - The name of the user who gets the mail

Known issues

  • You have to manually set the custom user field "Notify on new content" editable by the users, if you want them to be able to choose.
  • The "Notify users" checkbox in the article form is not reliably checked by default (especially not in the frontend form), if the target category is a monitored category.

License

Published under GNU Public License 2 (see LICENSE.txt).

plg_system_notifynewcontent's People

Contributors

fwilleke80 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.