"Wait until date" & container object

Author Message

Seb Gaillard

Wednesday 08 July 2009 4:59:51 am

Hi,

I would like to know if it's possible to do this.
I want to create a folder (container) with x articles (children) but i would like to delay the publishing of the folder.
The problem is that when I fill in "publish date" attribute of the folder (datetime), this one doesn't have the publish status and is not available in the subtree. So I can't create the articles inside.
Has someone an idea for doing this ?

May be I can modify the hide.php cronjob and making an other one called "reveal.php" ???

André R.

Wednesday 08 July 2009 5:40:20 am

See http://projects.ez.no/gwutils
It uses hidden state, so it will let you do things like this(+ move, copy and so on).

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

Seb Gaillard

Wednesday 08 July 2009 6:22:45 am

Thank's André,

It was exactly what I would like to do!
Great extension!

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 11:32:46
Script start
Timing: Jan 18 2025 11:32:46
Module start 'layout'
Timing: Jan 18 2025 11:32:46
Module start 'content'
Timing: Jan 18 2025 11:32:46
Module end 'content'
Timing: Jan 18 2025 11:32:46
Script end

Main resources:

Total runtime0.0177 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0075 591.5391152.6250
Module start 'layout' 0.00750.0028 744.164139.4453
Module start 'content' 0.01030.0051 783.609489.3359
Module end 'content' 0.01550.0021 872.945334.3047
Script end 0.0176  907.2500 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002916.3587140.0002
Check MTime0.00137.1145140.0001
Mysql Total
Database connection0.00095.154910.0009
Mysqli_queries0.003117.770030.0010
Looping result0.00000.095910.0000
Template Total0.001810.210.0018
Template load0.00094.968510.0009
Template processing0.00095.183310.0009
Override
Cache load0.00063.484310.0006
General
dbfile0.00031.977180.0000
String conversion0.00000.056740.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