Hi..
Before any comment, such a great idea and also such a great and cute implementation..
Now, let's go!.. I downloaded and installed, also followed up the README.txt to set up two countdown timers. The dates are displayed and nothing else happends.
Now I'm not sure if it's a mode bad invocation, or drupal js facility itself. I saw javascript being download from a clean url even if I don't have a clean url working site. the menu 'countdowntimer/timerjs' is doing well through the callback, but the drupal_add_js('countdowntimer/timerjs') creates a wrong html js importing entry:
Of course, it wont work as that file doesn't exists. Once fixed to a '?q=' prefixed url, the code loads right, but no event is handling.. neither the onload event of the HTML is superseed with any javascript start running the timmers.. Is this the expected behaviour? should the user enable any other feature/configuration of the site?
Anyway, the topic is, by default, a clean installation doesn't work (for me). I can provide more information if neccesary.
Thanks a lot
Comments
Comment #1
ilo commentedcorrection:
Once fixed about clean urls (add the '?q=' in the add_js), the code started to work. So for me, the topic can be closed, but I guess there's something to do about who should fix it, the module programers or the core staff.
Thanks, The module is cool for my needings!
Comment #2
jvandervort commentedThanks for the clean url hint.
Comment #3
ilo commentedAlso.. a note:
If you have installed the devel.module, and enabled the option "show queries information", the javascript will no longer work due to the mysql information attached to the content.
In the end it's not your module fault, countowntimer module is spected to be used in "production" while devel module not.