Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hello,
I am using the Poll module in Drupal 7 and was wondering if there is a way to get the poll to indicate that it is closed? Or even to simply add a CSS class to closed polls so that I can give them some kind of indication in a list of polls. I can see through views that I am able to add filters for whether or not a poll is active, so I assume that there is indeed a way that the system is differentiating between open and closed polls?
Any help with this would be greatly appreciated!
Comments
Comment #2
makbul_khan8 CreditAttribution: makbul_khan8 at Faichi Solutions Pvt Ltd commentedComment #3
makbul_khan8 CreditAttribution: makbul_khan8 at Faichi Solutions Pvt Ltd commentedHi Spokenbird,
This issue seems to be invalid as it is working as expected. Once the Poll duration is passed away, it will automatically update 'Poll status' to Closed from Open.
Please note: This will not work if the system cron interval is too long and Poll duration is set to less time.
For e.g: Poll duration in 1 day and system cron is set to 1 week.
Hope this will help you, if yes please close this issue with status as Closed (works as designed).
Thanks
Comment #4
makbul_khan8 CreditAttribution: makbul_khan8 at Faichi Solutions Pvt Ltd commented