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.
I'm trying to get jquery_countdown_block working on 7.x. Running the coder upgrade now.
Comment | File | Size | Author |
---|---|---|---|
#11 | jquery_countdown-README-1856304-8.patch | 4.36 KB | HongPong |
#10 | jquery_countdown-README-1856304-8.patch | 4.36 KB | HongPong |
#9 | jquery_countdown-README-1856304-8.patch | 4.37 KB | HongPong |
#8 | jquery_countdown-README-1856304-8.patch | 4.22 KB | HongPong |
#2 | jquery_countdown-port-1856304-1.patch | 13.45 KB | HongPong |
Comments
Comment #1
Blackice2999 CreditAttribution: Blackice2999 commentedHi,
the 7.x Version has a "jQuery Countdown Block". So what are you missing here ?
Comment #2
HongPong CreditAttribution: HongPong commentedHere's the output of coder.
Comment #3
Blackice2999 CreditAttribution: Blackice2999 commentedHi HongPong,
sorry but i dont understand what you want, so i dont want to watch line by line of a patch. Tell me your problem and we had a base for discussion.
thanks
Dennis
Comment #4
HongPong CreditAttribution: HongPong commentedIs it possible to make multiple countdown blocks in the 7.x version? That was the missing functionality I was trying to get going. It looked like the old version let you set multiple deltas. Thanks much.
Comment #5
Blackice2999 CreditAttribution: Blackice2999 commentedHi,
now i understand what you want. Why not use views for this ? - you can create multiple views blocks - but you need a content type with a date field for that.
alternativly you can try http://drupal.org/project/multiblock
Comment #6
HongPong CreditAttribution: HongPong commentedAha! Now I see how to do it. Referred to #685956: CCK date field formatter . I will try to write up documentation & post a README to include, as well as add to the community docs. It is pretty slick and also not complicated to setup.
Comment #7
Blackice2999 CreditAttribution: Blackice2999 commentedHi,
sure feel free to write a documentation page this is a good idea.
Comment #8
HongPong CreditAttribution: HongPong commentedAlright I wrote up the Readme. I also used some of the material on the other threads to come up with new example code that seems to work nicely on my local machine. Hope this helps the module find a broader audience - and possibly consider using my examples on the module page? I can add a Docs page for it too if you think the doc is good.
Comment #9
HongPong CreditAttribution: HongPong commentedI forgot to note the blocks admin page. Fixed.
Comment #10
HongPong CreditAttribution: HongPong commented... whitespaces fixed.
Comment #11
HongPong CreditAttribution: HongPong commentedA couple missing line breaks fixed.
Comment #12
pazza98 CreditAttribution: pazza98 commentedHi, I'm a bit new to this, so please excuse me if I've missed anything.
I've successfully implemented the jquery_countdown_add example with the 10 second countdown and an extended 10 minute variation on the same using 600 instead of 10 so as to avoid the annoying popup 10 seconds after loading my test page (aka my homepage).
However I'm having trouble getting to grips with the rest of the syntax and can't seem to find any relevant example code to help. Or find the code from the built in jquery-countdown-block.
Could someone document other options and how to use them, even if it just explains how to port the original jquery_countdown options to Drupal using jquery_countdown_add().
My attempt at trying to explain it to myself goes like this:
I realise this could be totally wrong. Thanks in advance.
Will.