What this plugin does:
1. Download, unpack and upload the hidefuturepages plugin folder to your plugin directory.
2. Install the plugin in the administration panel.
3. Check the plugin's configurations in the plugin administration to make sure everything is set to your
preference.
How to allow pages to expire:
Warning: Allowing pages to expire while having pages in a one year or older seditio/cotonti installation
may cause those pages to be deleted. You should backup your database before enabling this feature.
Pages by default will be set as a hidden page that can only be viewed in the administration tool. You can change this to delete the pages instead by changing a setting in the plugin configuration.
You must add the following line anywhere in your datas/config.php to allow pages to expire:
$cfg['allowpageexpire'] = TRUE;
Thanked: 9 раз
Are the pages deleted when expiring? Or are they just not displayed.
I like the second option.
Thanked: 16 раз
Originally it was only deleting the pages. I took your advice and made it hide the pages by default instead of deleteing them. The pages that are hidden can be viewed in the tool and the option to delete the pages is still there.
Thanks