how does publish_date in article class work?

Author Message

zurgutt -

Tuesday 25 November 2008 10:47:26 am

I cannot find any information about how publish_date attribute in article class is supposed to work. Its not mentioned in docs and neither appears it to be used anywhere in code or templates. Can anyone enlighten me?

Certified eZ developer looking for projects.
zurgutt at gg.ee

André R.

Tuesday 25 November 2008 12:53:07 pm

Add a Workflow with event "Event/Wait until date" and attach it in "content publish before" Trigger. Should be there in default install though, only workflow.php cronjob that needs to be activated.

+10 for better "whats next" documentation on what to do after install though.

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

zurgutt -

Wednesday 26 November 2008 2:30:28 pm

Ok, i have read hints that ezcore (http://projects.ez.no/ezcore) has more usable functionality for publishing and unpublishing by hiding/unhiding and that workflow based one is really cumbersome. There is problem tho as i have 3.9 site. Perhaps it works for it, have to test.

Certified eZ developer looking for projects.
zurgutt at gg.ee

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 19:12:37
Script start
Timing: Jan 18 2025 19:12:37
Module start 'layout'
Timing: Jan 18 2025 19:12:37
Module start 'content'
Timing: Jan 18 2025 19:12:37
Module end 'content'
Timing: Jan 18 2025 19:12:37
Script end

Main resources:

Total runtime0.0188 sec
Peak memory usage4,096.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0064 589.1719152.6406
Module start 'layout' 0.00640.0039 741.812539.4766
Module start 'content' 0.01030.0056 781.289189.2422
Module end 'content' 0.01590.0029 870.531334.3047
Script end 0.0188  904.8359 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002814.9234140.0002
Check MTime0.00126.6000140.0001
Mysql Total
Database connection0.00052.580710.0005
Mysqli_queries0.003920.555930.0013
Looping result0.00000.068410.0000
Template Total0.002211.910.0022
Template load0.00126.473310.0012
Template processing0.00105.407110.0010
Override
Cache load0.00084.221910.0008
General
dbfile0.00031.427180.0000
String conversion0.00000.031740.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs