Forums / Cotonti / General / How do I make pages "created" in future visible for the guests?

Dayver
#40495 2015-01-31 21:45

Yes your correct solution. But when updating your cotonti you need again repeat it. better if you do creat mini plugin which is only two file yourminiplug.setup.php and yourminiplug.page.list.query.php and that work on this file and contain Hook page.list.query only one line

$where['date'] = "(page_expire = 0 OR page_expire > {$sys['now']})";

Pavlo Tkachenko aka Dayver