Skip to the content
Documentation

ClassList

No ratings yet

Summary

Sets the content classes that use the "Date and time" datatype (used by the "unpublish.php" cronjob).

Usage

ClassList[]=class_id1

ClassList[]=class_id2
...

Description

This setting reveals the content classes that contain attributes which can be used by the "unpublish.php" script. Please note that you'll have to use ID numbers here, not identifiers. Only objects that are of these classes will be affected by the script. In addition, the "RootNodeList" directive must be used to specify which subtrees that can have their nodes affected by the cronjob script.

Examples

Example 1
ClassList[]=2

Assuming that the ID number of your article class is 2, this configuration will tell the "unpublish.php" cronjob to check the date and time values specified in the "unpublish_date" attribute of the article(s).

Contributors

Comments (1 historical)

Written by readers of the earlier documentation sites, kept as they were.

  1. ID Number

    Juan Asencio ·

    Is this the node id or the object id number or where I can defined the id number of the class?
    Regards,

Comments

Add a comment

Comments are read by a moderator before they appear.