RFC Feature PR-5.2-dev PR-5.3-dev Pending

User tests: Successful: Unsuccessful:

avatar Fedik
Fedik
15 Jun 2024

Summary of Changes

Adding Subscriber Registration Checker. Interface that allows Plugins to be checked before listener registration.
This allows the plugin to be registered only wheen special conditions are met, eg: only for specific application.

Testing Instructions

Code review by maintainers.

Edit

public function onBeforeCompileHead()
{
$app = $this->getApplication();

And add dd('Works'); at top of this method.

Then open Administrator page: you should get message "works"
And then open Site page: the page should be opened as usual

Link to documentations

Please select:

  • Documentation link for docs.joomla.org:
  • No documentation changes for docs.joomla.org needed
  • Pull Request link for manual.joomla.org: joomla/Manual#272
  • No documentation changes for manual.joomla.org needed
avatar Fedik Fedik - open - 15 Jun 2024
avatar Fedik Fedik - change - 15 Jun 2024
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 15 Jun 2024
Category Libraries Front End Plugins
avatar Fedik Fedik - change - 15 Jun 2024
Title
[5.2] CMSPlugin: Subscriber Registration Checker Interface
[5.2][RFC] CMSPlugin: Subscriber Registration Checker Interface
avatar Fedik Fedik - edited - 15 Jun 2024
avatar Fedik Fedik - change - 15 Jun 2024
The description was changed
avatar Fedik Fedik - edited - 15 Jun 2024
avatar Fedik Fedik - change - 15 Jun 2024
The description was changed
avatar Fedik Fedik - edited - 15 Jun 2024
avatar Fedik Fedik - change - 15 Jun 2024
Title
[5.2][RFC] CMSPlugin: Subscriber Registration Checker Interface
[5.x][RFC] CMSPlugin: Subscriber Registration Checker Interface
avatar Fedik Fedik - edited - 15 Jun 2024
avatar HLeithner
HLeithner - comment - 2 Sep 2024

This pull request has been automatically rebased to 5.3-dev.

avatar HLeithner HLeithner - change - 2 Sep 2024
Title
[5.x][RFC] CMSPlugin: Subscriber Registration Checker Interface
[5.3] [RFC] CMSPlugin: Subscriber Registration Checker Interface
avatar HLeithner HLeithner - edited - 2 Sep 2024
avatar Fedik Fedik - change - 2 Sep 2024
Labels Added: RFC Feature PR-5.2-dev PR-5.3-dev

Add a Comment

Login with GitHub to post a comment