Saturday 23 July 2005 2:56:56 pm
I found that I had to modify unpunlish.php to get it to work properly. The locale being used was eng-GB despite what was in my .ini files, so I had to add the locale to line 62 like so:
$rootNode =& eZContentObjectTreeNode::fetch( $nodeID,'eng-CA');
Then I had to add an extra empty Limitation filter so it would actually find my classes on line 64 like so:
$articleNodeArray =& $rootNode->subTree( array( 'Limitation' => array(),
'ClassFilterType' => 'include',
'ClassFilterArray' => $unpublishClasses ) );
And now it <b>seems</b> to be working flawlessly. - Dan
|