Forums / Install & configuration / Workflow and Collaboration, Questions and Suggestions

Workflow and Collaboration, Questions and Suggestions

Author Message

Russell Michell

Monday 15 September 2008 4:36:25 pm

Hi there interested readers and eZ Crew :-)

Some of this is probably best suited to the suggestions forum, but I didn't want to confuse things with separate threads, as all this is to do with workflow and collaboration, so I'll post it all here and hope that most of my questions/suggestions have some validity and can be answered :-)

Having done some extensive searching in the forums, there are a great number of orphan questions regarding workflows and collaboration in eZ Publish. So, I'd like to re-visit some of these with regard to my recent foray in Workflows:

I'm using eZ 4.0.1rc2 on Linux (FC5) using PHP5.2.5, MySQL 4.1.6 and sendmail 8.13.7.

1). There's no control for deleting items in the collaboration list when those objects have been deleted themselves. Should they not be allowed to be deleted until moderated or should the deletion process itself even be incorporated into a workflow?

2). Items listed under the My Profile --> My Pending Items list are not editable and need to be approved before editing can take place as normal. However, they are listed as drafts (They have a version number in the list), so I'd have thought that you could edit them. Why not then?

3). In the admin interface the collaboration list shows different detail about content objects awaiting approval than does the "My Pending Items" view in the website interface (ezwebin). Would be better if the collaboration list in both was consistent.

4). Can the Collaboration list be made available in the website view, not just restricted to the admin interface? I guess this is simply a permissions/template override issue right? I would have thought however, this would be default behaviour as some users with approval permissions, wouldn't otherwise ned to ever visit the 'admin' interface, except for this.

5). Group Tree for "inbox": Mine shows "Inbox (43)" What is this? Can it be documented somewhere? How can this list be cleared?

6). Suggest each item in the collaboration list has an "approve" and "deny" button/link/icon in the listing itself <b>as well as</b> having these buttons in the GUI upon clicking each entry.

Alongside these queries, I have submitted some bugs and enhancements that are relevant to workflows and collaboration that future visitors to this thread might find useful:

http://issues.ez.no/IssueView.php?Id=13617
http://issues.ez.no/IssueView.php?Id=13618
http://issues.ez.no/IssueView.php?Id=13619
http://issues.ez.no/IssueView.php?Id=13620
http://issues.ez.no/IssueView.php?Id=13621

Thanks for reading all :-)
Russ

Russell Michell, Wellington, New Zealand.
We're building! http://www.theruss.com/blog/
I'm on Twitter: http://twitter.com/therussdotcom

Believe nothing, consider everything.

André R.

Tuesday 16 September 2008 12:31:28 am

2) you will only get problems if you try to delete them.
Look at the alternatives instead, eZappove2 extension should work a lot better on things like this.

You also have a couple of alternatives mentioned here:
http://ez.no/developer/forum/developer/publish_unpublish_where_are_the_objects_not_yet_published

As for your html comment issue, seems like you need to disable site.ini [TemplateSettings] ShowXHTMLCode.

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Russell Michell

Wednesday 17 September 2008 6:14:35 pm

Hi André,

>2) you will only get problems if you try to delete them.

Sure, but if this is the case, then they shouldn't be permitted to be deleted. Using this logic, no software bugs would ever be fixed as it allows developers free reign to say things like "You shouldn't press the back button when using x/y application" - never mind that users <b>will</b> press the back button and load of other things that the developer never envisaged.

As for the HTML in email issue, here are my settings for override/site.ini.append.php

[TemplateSettings]
Debug=enabled
DevelopmentMode=enabled
ShowXHTMLCode=disabled
ShowUsedTemplates=disabled
TemplateCache=disabled
TemplateCompile=disabled

[MailSettings]
Transport=sendmail
SenderHost=localhost
ContentType=text/plain
AdminEmail=me@my-co.co.nz
EmailSender=me@my-co.co.nz

With the above settings and when I approve content via a workflow moderator, the email is sent as plain-text (as per the settings above) and I see the HTML comments in the message body. Changing ContentType to text/html, they disappear (of course). I have used both Lotus Notes and my webmail (Roundcube) to view these messages.

Are there some other settings that might affect this, or is this a bug?

> Look at the alternatives instead, eZappove2 extension should work a lot better on things like this.
Sure I will do, thanks for the pointer. But I have to say though that it strikes me as a little odd that extensions are needed to perform system tasks and operations that I would consider to be core functionality. It's almost like such extensions are 'patches' without actually being official patches.

Sorry, I don't mean to rant, and I will go check out the extensions.

With regard to 4). I changed the templates/user/edit.tpl file and added a link to the collaboration list. As long as that user has Collaboration privileges enough to see the page, it works.

Any comments on the rest of my points? I would really like to know what "Group Tree for "inbox":" means and how it might be used - practically I mean :-)

Thanks for your help André :-)
Russ

Russell Michell, Wellington, New Zealand.
We're building! http://www.theruss.com/blog/
I'm on Twitter: http://twitter.com/therussdotcom

Believe nothing, consider everything.

eZ debug

Timing: Jan 19 2025 02:20:13
Script start
Timing: Jan 19 2025 02:20:13
Module start 'content'
Timing: Jan 19 2025 02:20:14
Module end 'content'
Timing: Jan 19 2025 02:20:14
Script end

Main resources:

Total runtime0.6464 sec
Peak memory usage4,096.0000 KB
Database Queries194

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0076 589.2031180.8047
Module start 'content' 0.00760.5352 770.0078570.9844
Module end 'content' 0.54280.1035 1,340.9922340.7500
Script end 0.6464  1,681.7422 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00390.5960210.0002
Check MTime0.00140.2232210.0001
Mysql Total
Database connection0.00090.134610.0009
Mysqli_queries0.577389.29721940.0030
Looping result0.00180.27181920.0000
Template Total0.617395.520.3086
Template load0.00220.336320.0011
Template processing0.615195.147020.3075
Template load and register function0.00010.013610.0001
states
state_id_array0.00140.223710.0014
state_identifier_array0.00110.175720.0006
Override
Cache load0.00190.2958450.0000
Sytem overhead
Fetch class attribute can translate value0.00110.177630.0004
Fetch class attribute name0.00110.163850.0002
XML
Image XML parsing0.00130.194430.0004
class_abstraction
Instantiating content class attribute0.00000.002060.0000
General
dbfile0.00220.3336340.0001
String conversion0.00000.001130.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
9content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
6content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 24
 Number of unique templates used: 7

Time used to render debug report: 0.0002 secs