0

Related: Is it possible to remove the "new article" button from all sections in a Joomla website?

Worflows in Joomla 4 are great, but there is a feature I'm not sure they have: letting authors make changes to already published articles by creating a new version of them, which needs to be approved by moderators before actually replacing the currently displayed version.

Is this feature available directly or with free plugins/components, or is it still necessary to add it ourselves, like it was in 2015, as per this question? If we do have to do it ourselves, is it better to override some existing element, or to code something from zero?

2
  • At the moment, I don't believe this is specifically a feature. Workflow could allow you to temporarily bring an article back to unpublished for review before republishing again when the moderator has reviewed it, but that would at the moment be all in the original article. If you're interested in suggesting it as a feature, and even better working out a way to develop it further, please get in touch with me and I can pass your details onto the Joomla Enhancement Team for consideration. Commented May 2, 2022 at 10:53
  • @PatrickJackson Would you pass on to the JE team that we need another field for Approved/Not Approved and let the Author update their own unpublished articles. Sorry, not allowed to put a smilely face but I would if I could.
    – Irata
    Commented May 9, 2022 at 3:35

1 Answer 1

3

The ability for people with only Author level access to edit their own articles, ones they have created, is limited to only Articles that are Published, meaning they cannot edit an Article they have created until it becomes Published.

This quirk goes back to a decision or assumption made back in the very first version of Joomla, and maybe Mambo before that, to use the State field, displayed as Status in J4, of article being Published or Unpublished as a pseudo indication of whether it is approved or not approved.

It should/could have been solved with the introduction of Workflow but alas it wasn't.

Specifically to answer your question to work around the above restriction;

The creating of a trail of modifications or revisions per article is already available with the use of History or Versioning which is set by default in J4 and can be turned on in J3 in Content Options. This would be better than creating 'new' articles each time a change is made. enter image description here

To force any article updated by an Author to become unpublished would need a small Plugin that is executed just before the article is saved to check if someone with Author level access is saving the record and force the State field to be saved as Unpublished. This will mean that any Article edited by an Author will need someone with a higher level of access to 'Approve' the article by making it Published/Approved. This is required due to the permission you are about to change in the next step.

You can allow Authors to edit their own articles, in a Published state or not, by changing the Content Permissions to allow the Authors to Edit State(see image below) which will then allow them to see articles they have created that are in an Unpublished state, however it also means they will be able to see all Articles in an Unpublished State, but not be able to Edit them. enter image description here

Whether opening up this level of visibility of unpublished articles is an issue for your site is a decision only you can make.

1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.