There is currently no module that will expire stickiness, I thought this module is the closest. Any suggestions?

Comments

jonathan1055’s picture

Hello David,
This is a nice idea and would be very useful. There has been talk in previous scheduler issues with people wanting to expand the capabilities, eg #14159: Schedule promote/demote of nodes, #276376: Make scheduler more generic?, #773510: Integration with Rules module, #1092934: Scheduled promotion / demotion from Front page

I think the general plan (as far as Eric in concerned, and he is the chief maintainer) is that scheduler should remain simple and lightweight, and that any extra functionality should be catered for in a general, powerful way rather than hardcode lots of specific extras in the module itself.

So, yes it will/may be done, but will be part of a bigger expansion of scheduler's capabilities. Is that right, Eric?

Jonathan

jonathan1055’s picture

Status: Active » Postponed

Previously Eric has said

Promote and demote has to wait until the database normalization is done #1006766: Normalize and extend schema

This also applies to scheduling the sticky/unsticky value.

Another related issue is #1620632: add show/hide on <front> page functionality

jonathan1055’s picture

Title: Sticky Expire » 'Sticky at top of lists' on/off via Scheduler
Version: 6.x-1.x-dev » 7.x-1.x-dev
Issue summary: View changes
Parent issue: » #1006766: Normalize and extend schema
jonathan1055’s picture

Version: 7.x-1.x-dev » 8.x-1.x-dev
Status: Postponed » Active
Related issues: +#1982932: Drupal 8 Port of the Scheduler Module

Re-activating this issue so we can discuss it as part of the 8.x development

Anybody’s picture

Nice idea to also control sticky on top or frontpage with this module! +1

frankdesign’s picture

Is there any update on this? Or are there any other options to allow automatic removal of Sticky on a specific date?

Thanks

F

jonathan1055’s picture

Hi frankdesign,
This has not been built directly into Scheduler, but could be achieved using the Scheduler hooks scheduler/-/blob/8.x-1.x/scheduler.api.php and the Scheduler event subscribers scheduler/-/blob/8.x-1.x/src/SchedulerEvents.php - see the Scheduler test modules for examples of these in action.

You would need a custom module to implement the hooks and/or events. This would also need to alter the edit form to add a checkbox or something to allow the user to indicate "instead of unpublishing make this unsticky". If you are up to doing some coding on a custom module I can help and advise, but at the moment I don't have the time to write it myself. But it could become a sub-module of Scheduler, so may well be worth investing some time on it later.

For reference, #1092934-17: Scheduled promotion / demotion from Front page comment #17 and #18 discussed a generic forward approach using actions plugins. This would be a long-term goal.