Path

ez projects / cronjob_-_unhide-php


Unhide subtree by cronjob script

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.
  1. Read
    http://doc.ez.no/eZ-Publish/Technical-manual/4.x/Features/Cronjobs/The-cronjob-scripts#hide
  2. Add unhide.php to cronjobs directory
  3. Add unhide.php to cronjob.ini's [CronjobSettings} section
  4. 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

  5. Assure that runcronjobs.php is run w/o job-group argument for the site/siteaccess

No news yet.

This project has no reviews yet. Be the first one to review it!