Auto status
Last updated: Saturday 31 March 2012 12:46
| UNIX name |
Owner |
Status |
Version |
Compatible with |
| autostatus |
Damien Pobel |
stable
|
0.2
|
4.4, 4.5, 4.6 and all community edition
|
Update status in Twitter, Identi.ca, ... when creating or updating content in eZ Publish.
Auto status provides an after publish workflow event type that can update your status in social networks using a content attribute of the published object. Currently only Twitter and Identi.ca are supported, feel free to join the project if you want to add others social networks.
Extension setup
- Download the extension
- Unpack it in the eZ Publish root directory
- Import the SQL file extension/autostatus/sql/statusupdateevent.sql
- Enable the extension
- Regenerate the autload array
- Clear all cache
Workflow creation
- Create or choose an existing workflow group (Setup > Workflows)
- In this group, create a workflow and add an "Event / Auto status" to it
- Fill the "Event / Auto status" form (see the screenshot below) and save the event
- Assign the created workflow to the "content publish after" trigger (Setup > Triggers)
How does it work ?
With the above setup, eZ Publish will trigger the auto status event when an object is published. The auto status event will update the status only if the content class of the newly published object is the one configured in the event settings and if the choosen message attribute of this object is not empty.
In the message attribute, the following variables are available :
- %title will be replaced by the name of published object
- %url will be replaced by the URL of the main node embedding the published object
Known Limitations / Bugs
See TODO file.
Screenshot
Workflow event setup
Release of Auto Status 0.2
Tuesday 05 July 2011 20:49
Damien Pobel