The problem
On a fairly large site with many authors and translators, “editing in progress” articles can begin to accumulate. The administrators can wonder whether they are mistakes, or if they have been forgotten (or lost!) by their authors, — or if they are indeed being worked on.
Now in SPIP’s private area you can see your own [1] “editing in progress articles”, but not those of other authors. There is, it is true, the page articles_tous.php3 [2], which (if you are an administrator) offers the option of viewing “editing in progress” articles. However there is a catch: the list displayed shows only original articles. If the articles in question are “translations” they will not be shown.
A solution
The stand-alone template contained in the zip file below does two things:
- checks if the visitor is logged in to the private area of the site. If not, it asks them to log in.
- displays a list of articles with the status “editing in progress” as a series of links. It also shows the article language and date when work on the article began.
Here’s a screenshot:

To use the template, simply place the two files prep.php3
and prep.html
in the root directory of your site and call it directly from your browser, thus: http://mysite.net/prep.php3
No discussion
Add a comment
Avant de faire part d’un problème sur un plugin X, merci de lire ce qui suit :
Merci d’avance pour les personnes qui vous aideront !
Par ailleurs, n’oubliez pas que les contributeurs et contributrices ont une vie en dehors de SPIP.
Follow the comments:
|
