Hi,
Currently, the "active countdown" does not work in the D7 dev version. To fix it, some changes are necessary in the JavaScript code. I attach a working version.
| Comment | File | Size | Author |
|---|---|---|---|
| #13 | uc_auction.js_.txt | 7.25 KB | denes.szabo |
| #7 | auction_timer-1421876-7.patch | 13.31 KB | denes.szabo |
| #7 | uc_auction.js_.txt | 6.81 KB | denes.szabo |
| #1 | uc_auction.js_.txt | 6.58 KB | finngruwier |
Comments
Comment #1
finngruwier commentedIt seems that the file was not attached...here it comes (hopefully).
Comment #2
neurosis commentedWorked for me thanks!
Comment #3
nohup commentedfinngruwier, please submit a patch file.
Comment #4
IKE0088 commentedNot working for me.
Comment #5
neurosis commentedIKE0088
did you save the file, remove the .txt suffix and place it in your uc_auction folder?
Comment #6
IKE0088 commentedI did.
Comment #7
denes.szabo commentedI had a same problem as you. At last I could fix the whole js, now it seems work to me.
I reworked the whole file, fixed the coding standard problems and amended the code according to the Drupal7 js requirements.
I attached the patch against the 7.x-1.x-dev and the added the whole amended js file too (you need remove the _.txt from the file name when try it).
Comment #8
stefanlemmen commentedI tested it. The counter is working in full page display, but not in teaser display.
Comment #9
denes.szabo commented@stefanlemmen Did you try the patch and js I attached to the #7?
Comment #10
chefnelone commented@Denes.Szabo. Your js file worked for me. But there is some problem with the "formatted time interval. * @param langcode".
I have a multilingual site and in Spanish language it still shows the time in english:
hours, min, secs. It should behoras, mins, and segIf I revert to the original js file I get the time in the correct language.
The path didn't work for me, I get this error:
Comment #11
denes.szabo commentedI have a solution for the localization problem. I will collect my thoughts and upload the new version.
Do not mention, as I see this js you wanted to patch is not the same js file I worked on :)
Comment #12
chefnelone commentedThanks, I'll be tuned.
Comment #13
denes.szabo commentedI attached the latest js version. It works to us in not English (Hungarian actually) site.
Just rename .js_.txt to .js, copy to the uc_auction directory, overwrite the old file, then clear the caches.
Pleas, try it then tell us about your test results.
Comment #14
chefnelone commentedI'll try it tomorrow.
Comment #15
chefnelone commented@Denes.Szabo It works fine. Thanks for sharing!
Comment #16
chefnelone commentedI have the same problem again. The countdown clock is not working. You can take a look directly in the production site:Any help please.
My mistake.... it's working fine.
Comment #17
denes.szabo commentedMe too. It seems fine.
Comment #18
doppel commentedHow about for views?