We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Moderation modules, working drafts and revisions

Development and Programming

Cynan Clucas's avatar
Cynan Clucas
3 posts
14 years ago
Cynan Clucas's avatar Cynan Clucas

Hi all,

We (the place where I work) are pretty new to EE, so far to be honest its been disappointing to develop on (compared to plain CI!) but after quite a few late nights we are down to the last bit of big functionality!

Has anyone had any luck implementing a proper workflow solution in EE 2.2.2?

The lack of a working draft is a real killer for us (that fact it is not included in the EE core is shocking!) and although we have a 5 level moderation process in place by modifying the NSM publish plus: workflow add on we cannot get a working draft in place at at all.

The main issue is that everytime you do anything with a piece of content in EE it saves it directly in the db as live content. If you are editing a piece of content and you need authorisation this causes a pretty big problem because live content suddenly becomes unavailable as soon as someone without the correct rights edits the content.

To solve this issue we attempted to tweek the revision functionality so content is always stored as a revision when set to anything else than “published” and the live data table is updated only when the admin sets the content to “published”.

This would have been fine although the publish plus add-on only works on entry ID and changes the status based on the selected state.

We investigated the version table next as if we could get the related version to the entry id we could do a bit of modifying and implement a fix to stop content from automatically removing itself from the site. This would have been achieved by updating a revision state and only updating the live state once the moderation process had been completed.

If anyone has any knowledge of the revision / live database update functionality / structure it would be really useful to know how the two relate. I fear that revisions are simply a audit trail and the loaded revision is stored as the live data

Otherwise the only other option would be to add the better workflow module and try to extend the moderation levels…..which looks like a nightmare.

Any suggestions or thoughts would be awesome!

Thanks!

       
Dylan Smith/Context Design's avatar
Dylan Smith/Context Design
346 posts
14 years ago
Dylan Smith/Context Design's avatar Dylan Smith/Context Design

I’m not sure I understand your question. With Publish Plus (for 1.x), if you save a draft, those changes aren’t pushed publicly. If you save a revision, they are.

I haven’t delved into Better Workflow yet, but agree that an editorial control system is vital.

       
Cynan Clucas's avatar
Cynan Clucas
3 posts
14 years ago
Cynan Clucas's avatar Cynan Clucas

Hi Dylan, thanks for replying!

I believe with publish plus in EE 1x there is working draft functionality available it just hasn’t been ported to EE 2x yet.

To get round this we tried to tweek the revisions database table so you could update content which would only save as a revision on submit. Once you had reached the published workflow state the revision would be set as the live content.

Its frustrating because essentially everything is there to do a live draft (revisions, custom statuses etc) but it doesn’t quite tie together due to relations not being available in the database.

So I guess my question is:

Has anyone other than better workflow (which looks great but would require a lot of hacking around to perform to our client’s spec) managed to create live drafts in EE 2x?

Thanks, Phill

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.