Closed (fixed)
Project:
Donations Thermometer
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
28 Mar 2011 at 11:50 UTC
Updated:
17 Sep 2013 at 17:31 UTC
Jump to comment: Most recent file
Comments
Comment #1
Donatoo commented+1
Comment #2
noahlively commentedI have ported it successfully and am now using it on a D7 site. Please find attached a patch against the 6.x-1.x tree, and a tar.gz file containing the full 7.x-1.x module.
Thanks,
Noah Lively
http://www.KoreMedia.net
Comment #3
noahlively commentedChanging status to "needs review"
Comment #4
frederickjhI tried the 7.x-1.x module above and configured it and after placing the block I have a title and text but no meter. I did notice that the .info file does not declare the .css and .js file that are included with the module. As of D7 this must be done in the .info file.
Comment #5
jsi commentedI notice two attachments, one is a patch and the other is not.
Which one do i need to make this work on D7?
What exactly is the process to make this work on D7?
Do i first install version 6x then apply patch? or do i only use the 7x without patch?
Finally, frederickjh you mention editing the info file.
What info file?
Thanx and please excuse me for being such a newbie.
Comment #6
panchoThat's exactly the two options you have: Apply the 7.x patch file to a 6.x version of the module or use the .tar.gz archive to install the 7.x version rightaway.
Comment #7
matt bThe CSS classes did not match the CSS stylesheet. I've tidied this up as best I can, and added the CSS and JS declarations to the .info file.
Comment #8
matt bSomething in this code (possibly the javascript) is disabling CKEDitor and also the drag and drop weight functionality on blocks, menus, etc.
Comment #9
Fanaile commentedI installed the tar file from # 7 and received this error:
Warning: file_get_contents(sites/all/modules/donations_thermometer/donations_thermometer.js): failed to open stream: No such file or directory in drupal_build_js_cache() (line 4940 of /.../includes/common.inc).
However, the thermometer does seem to work even with the error, though I can confirm what was said earlier regarding the weight system. The site I have this installed on is using the WYSIWYG module and that has also become disabled after I installed this module. Also, the edit content form is changed dramatically, like the "edit summary" button is disabled and the area explaining the differences in text formats is showing as plain text, and it disabled any views that were set to jcarousel.
Other than that, I would like to know where I can add commas to the numbers? I know this sounds silly, and I'm sorry... but the site that this is going on, the goal is for him to talk to 1,000,000 high school youths and he is currently at 77,800 - and it is hard to read without commas.
Thank you.
Comment #10
lsolesen commentedPatch in #2 does not apply:
Comment #11
lsolesen commentedHere is a working version of the module on github: https://github.com/lsolesen/donations_thermometer.
I've applied to be a co-maintainer, so it can get commited to d.o here #2079989: Offer to be a co-maintainer
Comment #12
lsolesen commentedA 7.x branch has been opened. Please open bugs in that branch.