Currently the module can expire the front page if the node is marked with $node->promote == 1.

So if the node was promoted to the front page but had the flag removed on the edit you should flush the front page because the node should not be there any more.

Also it should probably check to see if the published flag has changed. If it has not and the node is not published then you don't want to flush the homepage as the node was never there.

CommentFileSizeAuthor
#2 expire-front_page_expire-1313966.patch1.35 KBjaydub

Comments

jaydub’s picture

This should also include the case where a node that is published and is promoted to front page goes from published to unpublished w/o the promote bit being changed. In this case we'd also want to flush the front page.

jaydub’s picture

Status: Active » Needs review
StatusFileSize
new1.35 KB

Attached is a patch that attempts to cover these 2 possible change of states (published and/or promote) when the expire front page option is selected.

liam morland’s picture

Issue summary: View changes
Status: Needs review » Closed (outdated)

Drupal 6 is no longer supported. If this issue exists in Drupal 7, please reopen and provide details.