Forums / General / Question for workflow Wait until date

Question for workflow Wait until date

Author Message

Bin LIU

Friday 12 December 2008 2:58:52 am

I active the workflow "Wait until date".

So if I publish an article for tomorrow 8 hour-clock , when I validate the article now, it will added in waiting list until the cron passing tomorrow for publish. That's good.

But if I make a mistake in the article or I want to change the published time of the article, even I want to delete it, how can I edit or delete the article in waiting list ? I don't find it in backoffice.

Waiting for your advise. Thanks

=== Lagardère Active ===

Fetch random
http://projects.ez.no/la_fetch_random
LA Static Cache
http://projects.ez.no/lastaticcache
LA Bookmarks (jquery)
http://projects.ez.no/labookmark
LA Calendar (jquery)
http://projects.ez.no/lacalendar

My site ez
http://lingping.info

André R.

Friday 12 December 2008 4:08:13 am

Use another workflow, there are serveral that allows this, two on projects.ez.no that works around this by using node hiding istead so you can edit/move/delete the content as you wish.

http://projects.ez.no/gwutils
http://projects.ez.no/ezcore

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

Kristof Coomans

Friday 12 December 2008 4:34:09 am

I added an enhancement request in the issue tracker for this: http://issues.ez.no/IssueView.php?Id=14129

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

Bin LIU

Friday 12 December 2008 4:58:38 am

Thanks André

=== Lagardère Active ===

Fetch random
http://projects.ez.no/la_fetch_random
LA Static Cache
http://projects.ez.no/lastaticcache
LA Bookmarks (jquery)
http://projects.ez.no/labookmark
LA Calendar (jquery)
http://projects.ez.no/lacalendar

My site ez
http://lingping.info

Bin LIU

Friday 12 December 2008 7:36:41 am

Hi André, thanks for your extension.
It's very useful.
I added 3 lines in gwupdatehiddentype.php before if ( $currentTime < $publishTimestamp )

 

eZContentCacheManager::clearContentCache( $object->attribute('id') );
eZContentCacheManager::generateObjectViewCache( $object->attribute('id') );
eZStaticCache::executeActions(); 

It clear the object's view cache and push the action static_store in table ezpending_list for the project with staticcache activing.

=== Lagardère Active ===

Fetch random
http://projects.ez.no/la_fetch_random
LA Static Cache
http://projects.ez.no/lastaticcache
LA Bookmarks (jquery)
http://projects.ez.no/labookmark
LA Calendar (jquery)
http://projects.ez.no/lacalendar

My site ez
http://lingping.info

eZ debug

Timing: Jan 30 2025 14:51:21
Script start
Timing: Jan 30 2025 14:51:21
Module start 'content'
Timing: Jan 30 2025 14:51:21
Module end 'content'
Timing: Jan 30 2025 14:51:22
Script end

Main resources:

Total runtime0.3751 sec
Peak memory usage8,192.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0120 589.0859370.2969
Module start 'content' 0.01200.0161 959.38281,009.6250
Module end 'content' 0.02810.3469 1,969.00783,897.8359
Script end 0.3750  5,866.8438 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00451.1914200.0002
Check MTime0.00130.3400200.0001
Mysql Total
Database connection0.00140.362910.0014
Mysqli_queries0.268071.45241410.0019
Looping result0.00160.43311390.0000
Template Total0.346592.410.3465
Template load0.00090.248010.0009
Template processing0.345592.130410.3455
Override
Cache load0.00050.139710.0005
Sytem overhead
Fetch class attribute can translate value0.00160.439410.0016
XML
Image XML parsing0.00040.095710.0004
General
dbfile0.01303.4707200.0007
String conversion0.00000.002530.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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0003 secs