Automatic event promotion . . .
I have a need for a particular functionality, and before I go and create a module to do it, I thought I'd check to see if anyone else is already doing it. What I want is to have all my event node (or maybe some subset) automatically promoted to the front page for some specified period of time before the event takes place and then to automatically be unpromoted after the event is over. I didn't see any module that provided that functionality on d.o. Is that something anyone is currently working on? -- Jason Flatt http://www.oadaeh.net/ Father of Six: http://www.flattfamily.com/ (Joseph, 15; Cramer, 13; Travis, 11; Angela; Harry, 7; and William, 2) Linux User: http://www.kubuntu.org/ Drupal Fanatic: http://drupal.org/
Jason Flatt wrote:
I have a need for a particular functionality, and before I go and create a module to do it, I thought I'd check to see if anyone else is already doing it.
What I want is to have all my event node (or maybe some subset) automatically promoted to the front page for some specified period of time before the event takes place and then to automatically be unpromoted after the event is over.
I didn't see any module that provided that functionality on d.o. Is that something anyone is currently working on?
What I would do is, instead of coding something custom, place a view on the front page that shows all nodes of type event occurring between X time from now and Y time from now. You can use panels to place it in a pretty way if you don't feel like making it a block. Susan
On Wednesday 12 March 2008 3:19:10 pm Susan Stewart wrote:
Jason Flatt wrote:
I have a need for a particular functionality, and before I go and create a module to do it, I thought I'd check to see if anyone else is already doing it.
What I want is to have all my event node (or maybe some subset) automatically promoted to the front page for some specified period of time before the event takes place and then to automatically be unpromoted after the event is over.
I didn't see any module that provided that functionality on d.o. Is that something anyone is currently working on?
What I would do is, instead of coding something custom, place a view on the front page that shows all nodes of type event occurring between X time from now and Y time from now. You can use panels to place it in a pretty way if you don't feel like making it a block.
Susan
Yeah, I thought about doing it that way, but I don't think it'll work for my situation, and I don't want to spend the time trying to find out, when I know the other way will get me what I want. Thanks for the suggestion, though. -- Jason Flatt http://www.oadaeh.net/ Father of Six: http://www.flattfamily.com/ (Joseph, 15; Cramer, 13; Travis, 11; Angela; Harry, 7; and William, 2) Linux User: http://www.kubuntu.org/ Drupal Fanatic: http://drupal.org/
Jason You can perhaps write a patch so scheduler does that. It would be very similar to publish/unpublish, but using the promote flag instead. http://drupal.org/project/scheduler On Wed, Mar 12, 2008 at 6:03 PM, Jason Flatt <drupal@oadaeh.net> wrote:
I have a need for a particular functionality, and before I go and create a module to do it, I thought I'd check to see if anyone else is already doing it.
What I want is to have all my event node (or maybe some subset) automatically promoted to the front page for some specified period of time before the event takes place and then to automatically be unpromoted after the event is over.
I didn't see any module that provided that functionality on d.o. Is that something anyone is currently working on?
-- Jason Flatt http://www.oadaeh.net/ Father of Six: http://www.flattfamily.com/ (Joseph, 15; Cramer, 13; Travis, 11; Angela; Harry, 7; and William, 2) Linux User: http://www.kubuntu.org/ Drupal Fanatic: http://drupal.org/
-- Khalid M. Baheyeldin 2bits.com, Inc. http://2bits.com Drupal optimization, development, customization and consulting.
On Wednesday 12 March 2008 3:29:10 pm Khalid Baheyeldin wrote:
Jason
You can perhaps write a patch so scheduler does that. It would be very similar to publish/unpublish, but using the promote flag instead.
That module does get me pretty close. I'm already in there seeing what I can do to modify it so it will do what I want. Thanks for the pointer. -- Jason Flatt http://www.oadaeh.net/ Father of Six: http://www.flattfamily.com/ (Joseph, 15; Cramer, 13; Travis, 11; Angela; Harry, 7; and William, 2) Linux User: http://www.kubuntu.org/ Drupal Fanatic: http://drupal.org/
@see http://drupal.org/project/scheduler
-----Original Message----- From: development-bounces@drupal.org [mailto:development-bounces@drupal.org] On Behalf Of Jason Flatt Sent: Wednesday, March 12, 2008 11:04 PM To: development@drupal.org Subject: [development] Automatic event promotion . . .
I have a need for a particular functionality, and before I go and create a module to do it, I thought I'd check to see if anyone else is already doing it.
What I want is to have all my event node (or maybe some subset) automatically promoted to the front page for some specified period of time before the event takes place and then to automatically be unpromoted after the event is over.
I didn't see any module that provided that functionality on d.o. Is that something anyone is currently working on?
-- Jason Flatt http://www.oadaeh.net/ Father of Six: http://www.flattfamily.com/ (Joseph, 15; Cramer, 13; Travis, 11; Angela; Harry, 7; and William, 2) Linux User: http://www.kubuntu.org/ Drupal Fanatic: http://drupal.org/
participants (4)
-
Daniel F. Kudwien -
Jason Flatt -
Khalid Baheyeldin -
Susan Stewart