User tests: Successful: Unsuccessful:
Pull Request for Issue -.
Plugin events are triggered by the dispatcher in order specified by the plugins administration component. However some plugin types like system plugins are dispatched before content plugins.
The pull requests moves onContentAfterTitle, onContentBeforeDisplay and onContentAfterDisplay from fields system plugin to fields content plugin - so it's possible to define where output will be rendered on the page.
I've prepared an example where I'm using both vote plugin and fields plugin to show a gallery. Both are configured to show on onContentBeforeDisplay event.
The goal is to
User can choose the order of content plugins to display
The fields plugin output is always displayed before any other content plugins.
none
cc @laoneo
Status | New | ⇒ | Pending |
Category | ⇒ | Front End Plugins |
Status | Pending | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2017-03-24 09:35:23 |
Closed_By | ⇒ | piotr-cz | |
Labels |
Added:
?
|
Superseeded by #14875 as this PR contains some unnecessary repo maintenance commits