Gestione delle revisioni in Drupal: Difference between revisions

From RVM Wiki
Jump to navigation Jump to search
mNo edit summary
Line 1: Line 1:
==Attivare le notifiche via mail==
* Nel content type, forzare la creazione di una revisione ad ogni modifica, flaggando
* Nel content type, forzare la creazione di una revisione ad ogni modifica, flaggando


Line 12: Line 13:
  Site Building / Triggers
  Site Building / Triggers


* Vedi in riferimenti per affinare la cosa.
==Installare i componenti per l'approvazione delle Revisioni==
 
* Installare ed abilitare  [http://drupal.org/project/smart_menus Smart tabs | drupal.org]
* Installare [http://drupal.org/project/module_grants Module Grants | drupal.org]
* Abilitare
Module Grants
Module Grants Monitor
Node Tools
User Tools
* Installare ed abilitare [http://drupal.org/project/diff Diff | drupal.org]
* Installare ed abilitare [http://drupal.org/project/revisioning Revisioning | drupal.org]
 
Under
Administer >> Content >> Content types
click "edit" next to the  content types for which you wish to enable/disable revisioning.
 
Under
Workflow Settings, Default Options
tick both the
Create new revision
New revision in draft, pending moderation
 
Also in this section UNtick
Published
so that all new content is created in an unpubished state, i.e. invisible to the public.
 
Select in New revision in draft, Create new revision
Every time book content is updated, even when saving content in draft/pending moderation
 
Give authors  permissions
view revisions
edit revisions
module_grants_monitor module
  access All tab
 
Give moderators
view revisions
edit revisions
publish/revert revisions
 
module_grants_monitor module
  access All tab
  access I Can Edit tab 
  access I Can View tab 
  access I Created tab 
  access I Last Modified tab 
  access Published tab 
  access Unpublished tab
 
==Utilizzo==
Log in as one of the authors and Create content. Save. Log out
 
Log in as a moderator to publish the content via the
Accessile content >> Pending tab
 
Click on the title of the post, then open the desired revision by clicking on the date.
 
Check the content, the press
Publish this
 
Log in as an author again and revise the content. You will notice that upon
saving the new revision, the one visible to the public remains unchanged.
 
Log in as a moderator again to promote (publish), the revised content to live.
 
As an alternative to the Accessible content menu item, you may want to activate
the
Pending revisions block
 
This block is particularly useful for moderators
as it constantly shows the latest content requiring moderator attention in an
inobtrusive corner of the screen.
 
Configure and enable the block like any other on the
Administer >> Site building >> Blocks page.
 
In addition you may want to install the Workflow module to further segragate
the author and moderator roles via access control based on states such as
"in draft", "in review" and "live". Workflow also allows you to notify users
when state transitions occur (e.g. when a moderator declines or publishes a
submitted revision).


==Riferimenti==
==Riferimenti==

Revision as of 17:24, 10 February 2011

Attivare le notifiche via mail

  • Nel content type, forzare la creazione di una revisione ad ogni modifica, flaggando
Workflow settings /  Create new revision
  • Abilitare il modulo
Trigger
  • Creare un'azione che invia mail ad un indirizzo in
Site Configuraton / Actions
  • Creare un trigger che usa l'azione precedente ad ogni creazione ed ad ogni modifica del contenuto e della taxonomy in
Site Building / Triggers

Installare i componenti per l'approvazione delle Revisioni

Module Grants
Module Grants Monitor
Node Tools
User Tools

Under

Administer >> Content >> Content types

click "edit" next to the content types for which you wish to enable/disable revisioning.

Under

Workflow Settings, Default Options

tick both the

Create new revision
New revision in draft, pending moderation

Also in this section UNtick

Published

so that all new content is created in an unpubished state, i.e. invisible to the public.

Select in New revision in draft, Create new revision

Every time book content is updated, even when saving content in draft/pending moderation

Give authors permissions

view revisions
edit revisions
module_grants_monitor module
 access All tab

Give moderators

view revisions
edit revisions
publish/revert revisions
module_grants_monitor module
 access All tab
 access I Can Edit tab   
 access I Can View tab   
 access I Created tab   
 access I Last Modified tab   
 access Published tab   
 access Unpublished tab

Utilizzo

Log in as one of the authors and Create content. Save. Log out

Log in as a moderator to publish the content via the

Accessile content >> Pending tab

Click on the title of the post, then open the desired revision by clicking on the date.

Check the content, the press

Publish this

Log in as an author again and revise the content. You will notice that upon saving the new revision, the one visible to the public remains unchanged.

Log in as a moderator again to promote (publish), the revised content to live.

As an alternative to the Accessible content menu item, you may want to activate the

Pending revisions block

This block is particularly useful for moderators as it constantly shows the latest content requiring moderator attention in an inobtrusive corner of the screen.

Configure and enable the block like any other on the

Administer >> Site building >> Blocks page.

In addition you may want to install the Workflow module to further segragate the author and moderator roles via access control based on states such as "in draft", "in review" and "live". Workflow also allows you to notify users when state transitions occur (e.g. when a moderator declines or publishes a submitted revision).

Riferimenti