Unhide subtree by cronjob script
Last updated: Monday 03 January 2011 13:00
| UNIX name |
Owner |
Status |
Version |
Compatible with |
| cronjob_-_unhide-php |
Niels Heinemann |
stable
|
0.1
|
4.x
|
This cronjob script adds ability to unhide content nodes by date. It's usage and functionality is equivalent to cronjobs/hide.php's.
-
Read
http://doc.ez.no/eZ-Publish/Technical-manual/4.x/Features/Cronjobs/The-cronjob-scripts#hide
- Add unhide.php to cronjobs directory
- Add unhide.php to cronjob.ini's [CronjobSettings} section
Add [UnhideSettings] section to content.ini like:
[UnhideSettings]
RootNodeList[]=<YOUR_ROOT_NODE_ID>
UnhideDateAttributeList[<YOUR_CLASS_IDENTIFIER>]=<YOUR_CLASS_PUBLICATION_DATE_ATTRIBUTE>
Example:
[UnhideSettings]
RootNodeList[]=2
UnhideDateAttributeList[news_article]=pubdate
- Assure that runcronjobs.php is run w/o job-group argument for the site/siteaccess