Publish and unpublish new content class

Author Message

Juan Asencio

Tuesday 13 April 2010 6:34:51 am

Hi,

I made a new content class which includes publish and unpublish dates, include the class ID on the content.ini.append.php of my siteaccess, run runcronjobs.php from ez directory, but I'm still no able to unpublish the famous article. I have tried to follow all the nice trades on the forum, but still I can't make it to work.

Any suggestions?

Thanks in advance,

Juan.-

Nicolas Pastorino

Wednesday 14 April 2010 1:18:29 am

Hi Juan!

A few regular questions for a start :

  • Which version of eZ Publish are you running ?
  • Have you properly passed the '-s' option to the runcronjobs.php scripts, making sure the right siteaccess is affected by the unpublish cronjob ?
  • Have you cleared the INI (or all) caches before running the workflow ?

Let us know,
Cheers !

--
Nicolas Pastorino
Director Community - eZ
Member of the Community Project Board

eZ Publish Community on twitter: http://twitter.com/ezcommunity

t : http://twitter.com/jeanvoye
G+ : http://plus.tl/jeanvoye

Gaetano Giunta

Wednesday 14 April 2010 1:34:30 am

Also, are you sure you're running the correct workflows? Which ones are you running?

Principal Consultant International Business
Member of the Community Project Board

Juan Asencio

Tuesday 11 May 2010 2:44:53 am

Guys, thank you for your replies.

Now is working. I was missing the right [UnpublishSettings] on the content.ini.append.php file. After doing my homework and reading the manual (http://ez.no/doc/ez_publish/technical_manual/4_x/features/cronjobs) I got it to work.

Cheers,

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