publish articles by date?

Author Message

Kai Duebbert

Tuesday 03 June 2003 7:48:17 am

Hi,

Is it possible to have an article published at a certain date in the future?

Thanks,

Kai

Tomek Klaudel

Tuesday 03 June 2003 8:33:23 am

First of all you need to add "date" attribute to class Article.
Next you need to create new workflow with "wait until date" event and set up date attribute as date to wait until.
And finally assign this workflow to before publish trigger.

Tomek

Thomas Thiel

Tuesday 03 June 2003 12:54:12 pm

the priciple is obvious - but the new article still published immediately after pressing the "publish"-button. does it work for you ?

Tomek Klaudel

Tuesday 03 June 2003 1:36:39 pm

In 3.0-2, as I remember, everything was ok. Now I try in 3.1beta, and it not working... approval workflow also...

Tomek

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 05:18:27
Script start
Timing: Jan 18 2025 05:18:27
Module start 'layout'
Timing: Jan 18 2025 05:18:27
Module start 'content'
Timing: Jan 18 2025 05:18:27
Module end 'content'
Timing: Jan 18 2025 05:18:27
Script end

Main resources:

Total runtime0.6750 sec
Peak memory usage4,096.0000 KB
Database Queries62

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0063 587.9063152.6250
Module start 'layout' 0.00630.0028 740.531339.4297
Module start 'content' 0.00910.6644 779.9609541.5313
Module end 'content' 0.67350.0014 1,321.49228.1797
Script end 0.6749  1,329.6719 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00300.4434160.0002
Check MTime0.00120.1800160.0001
Mysql Total
Database connection0.00060.088410.0006
Mysqli_queries0.632393.6829620.0102
Looping result0.00050.0764600.0000
Template Total0.641295.020.3206
Template load0.00200.298720.0010
Template processing0.639294.696920.3196
Template load and register function0.00020.025210.0002
states
state_id_array0.00100.141810.0010
state_identifier_array0.00120.179320.0006
Override
Cache load0.00170.2460180.0001
Sytem overhead
Fetch class attribute can translate value0.00050.076930.0002
Fetch class attribute name0.00100.145750.0002
XML
Image XML parsing0.00080.121330.0003
class_abstraction
Instantiating content class attribute0.00000.001550.0000
General
dbfile0.00090.1355160.0001
String conversion0.00000.001640.0000
Note: percentages do not add up to 100% because some accumulators overlap

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
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 12
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs