Forums / General / Re-publish unpublished objects
Roy Bøhmer
Monday 13 March 2006 3:21:07 pm
Hi!
As far I understand, the way cronjob unpublishes objects is by hiding the nodes. If that's the case I should be able to see the nodes in admin after unpublish. But I can't. If I manually hide a node I can see it. In site.ini I have
[SiteAccessSettings] ShowHiddenNodes=true
Question:Where can I find unpublished articles? Is it possible to re-publish them?
Ez 3.7.3
Best regardsRoy
Łukasz Serwatka
Tuesday 14 March 2006 12:01:47 am
Exponential supports two possibilities. Unpublish and hide. The first one removes objects from content tree. Removed objects are placed in trash.
About restoring content you can read here:http://ez.no/doc/ez_publish/user_manual/3_6/daily_tasks/restoring_content
Personal website -> http://serwatka.net Blog (about eZ Publish) -> http://serwatka.net/blog
Tuesday 14 March 2006 12:36:36 am
Thank you, Lukasz
I guess that solves the problem.
Roy
Daniele Nocentini
Monday 22 October 2007 6:10:16 am
I try the functionality unpublish by date in article class, the workflow unpublish the articles but I don't find any unpublishe article in my trash, I missing my unpublished articles?
Antica Bottega Digitale srl http://www.abd.it
Martynas Bilevičius
Monday 22 October 2007 10:24:25 pm
Hi, i try to use article publish and unpublish in site but nothing is working, how to configurate workflows and trigers what everything work, mayby have some examples how to creat workflows to article publish and unpublish, i creat some workflows and see in workflows proceses that som events is but notfing work, mayby some problems with cron jobs.
Monday 22 October 2007 11:46:34 pm
Hi,
Unpublish action is done by cronjob and it is not related to Exponential workflow system. First you need to add new date or datetime attribute with identifier "unpublish_date" (atttribute have to have exactly the same atrribute ID) to your content class. Fill up correct date in object edit mode then store it.
In content.ini.append.php set
[UnpublishSettings] # Where 2 is top level of content subtree RootNodeList[]=2 # Class identifiers ClassList[]=article
In cronjob.ini.append.php add
[CronjobPart-unpublish] Scripts[]=unpublish.php
Clear the INI cache and execute cronjob script as:
$ php runcronjobs.php unpublish
Tuesday 23 October 2007 12:04:08 am
Yes all right! but the question is, where ez put the unpublished articles? in the trash? i don't see any unpublished articles in my trash after I run cronjobs. I use ez 3.10.0.
Tuesday 23 October 2007 5:42:49 am
@Daniele:
My answer was on Martynas's question. Yes, Exponential should put unpublished objects into trash. It looks like an issue in Exponential 3.10. Could you post an issue about it?
Tuesday 23 October 2007 6:00:34 am
I try again on another ez installation and there is the same problem, I think is a bug.So a post this issue on bug tracking.
http://issues.ez.no/IssueView.php?Id=11741&activeItem=1
Tuesday 23 October 2007 6:43:51 am
Thanks, Łukasz Serwatka i try tomorrow like you say.
Thursday 25 October 2007 3:26:41 am
Try but somfing wrong, nothing heapen. O How to creat workwflow event for publish and unbublish.