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.
It would be nice if the content types to which refresh is available can be selected via the administrative interface.
Comment | File | Size | Author |
---|---|---|---|
#6 | refresh-per-content-type-183813-6.patch | 5.34 KB | valderama |
Comments
Comment #1
karna CreditAttribution: karna commentedThis is nice functionality for the next development release...
Comment #2
karna CreditAttribution: karna commentedWill be added for drupal 6 when drupal 6 comes out.
Comment #3
mo6Comment #4
mo6Comment #5
valderama CreditAttribution: valderama commentedI think that this would be a nice feature!
There could be an option on the content-type edit screen (admin/structure/types/manage/my-content-type) which allows to activate refreshing and to provide a default value.
Comment #6
valderama CreditAttribution: valderama commentedI added the functionality, using auto nodetitle module (http://drupal.org/project/auto_nodetitle) as a blueprint.
There is now a vertical tab on the content type page (admin/structure/types/manage/{my-content-type}).
Would be great to see it commited!
Thanks and Greets,
Walter
Comment #7
cesareaugusto CreditAttribution: cesareaugusto commentedGreat! Is it possible to assign a refresh property to Panels too? I would like my home page (which is actually a Panel Page) to be able to refresh every X seconds.
Comment #8
cesareaugusto CreditAttribution: cesareaugusto commentedAny news? Will it be merged into the main release?
Comment #9
mo6I'll test #6 asap
Comment #10
cesareaugusto CreditAttribution: cesareaugusto commentedAny news about this feature?
Comment #11
kopeboy CreditAttribution: kopeboy commentedCome on this is really important.
Who wants to add an auto refresh on EVERY content type of a Drupal-made website?!
Is this unmaintained?
Comment #13
mo6I've modified and applied the patch from #6 in the latest 7.x-1.x-dev release.
Please note that the setting per content type acts as a global switch, so for existing sites the refresh functionality has to enabled in the content type settings at admin/structure/types/manage/(content type)