I've created a Drupal 7 port for this module. Admin settings page, blocks, and rules integration.

Can be found here.
Thanks!

Comments

perandre’s picture

Nice, but I can't see the admin page? From the modules page, it links to configuration at admin/config/user-interface.

rashad612’s picture

It should be:
admin/config/user-interface/jquery-countdown

Make sure date_popup module is enabled.

perandre’s picture

Funnily enough, admin screen showed up after I disabled all commerce modules. Commerce module has some issues at the moment. Now testing!

perandre’s picture

How about field integration? Set countdown on nodes, and when it's at zero -> trigger rule. Let me know if I should create a feature request :)

rashad612’s picture

Let's have approval for the branch 1st :)

BenK’s picture

Subscribing

BenK’s picture

@rashad612: Just tried your Github code for the D7 port and it's working great! :-) I also have Drupal Commerce installed and I'm not experiencing any conflicts. The configuration page appears where it should and everything just seems to work.

One question though: What I really need is different countdown blocks for different pages on the site. I'm trying to figure out how to easily accomplish this.

What do you think about a simple admin setting that lets you choose how many jquery countdown blocks to display on the block management page? Then, you could use regular block settings to determine on what pages to show each countdown.

--Ben

rashad612’s picture

@BenK, it would be a good idea, but I hope the code will be migrated in the project itself first

BenK’s picture

@rashad612: Can you post a proper patch against the 6.x-1.x-dev branch to this issue thread. Then I can test it, confirm it works properly, and mark it RTBC. That's usually what we need to do to get it committed to the module. If you post the patch, I can test.

--Ben

BenK’s picture

@rashad612: Does you D7 port on Githyb have a working date field formatter (to display as date field as a jquery countdown)?

Someone said it did on another issue thread, but I don't see that functionality in place.

Thanks again,
Ben

berdir’s picture

Subscribe, will take a look at the date field formatter stuff.

BenK’s picture

Sweet! Here's a link to a separate module on github that implements the date field formatter for the D6 version of jquery_countdown. It should be a good starting point for the D7 code. We'd just need to port it and incorporate it into the jquery_countdown module directly.

So here's the link:

https://github.com/ademarco/date_countdown/blob/master/date_countdown.mo...

--Ben

BenK’s picture

I started some initial work trying to get field formatters working with the D7 version of this module. It only exists as a non-functional code snippet right now, but here's the link to see what I did:

http://drupalbin.com/18491

Thanks,
Ben

blackice2999’s picture

Hi BenK,

you are wrong ;) - in the D7 Port is already a D7 Field Formatter

see:
https://github.com/blackice2999/jquery_countdown/tree/blackice_master

and:
https://github.com/rashad612/jquery_countdown

-
i try to get the maintain / co-maintain status of this module here to create a official release for D7 and upgrade the D6 version of this module to new functions but i dont get any response from the original maintainer or from the webmasters... i am a little disappointed about the situation...

regards
Dennis

BenK’s picture

@Blackice2999: I'm going to try out your field formatter later today and report back. :-) Also, I'm trying to contact Rob Loach and will see about getting you co-maintainer status.

--Ben

BenK’s picture

@Blackice2999: I traded tweets with Rob Leach and you should be getting co-maintainer status soon. :-) Yay!

You can check out his tweet here:

http://twitter.com/#!/RobLoach/status/69184087117660160

--Ben

rashad612’s picture

I also finished a field formatter, but not pushed yet. Any plan to merge all our work and create one big patch for D7 port ?

blackice2999’s picture

Hi rashad,

commit it to your github as separate branch so we can compare it with my solution ?!

regards
Dennis

sivaji_ganesh_jojodae’s picture

Quiz module counts on jQuery Countdown for timed quiz. I would really love to see this module available for D7.

Letharion’s picture

Status: Active » Fixed

There is a version for D7 out.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.