Hello Paul,

Great module and exactly what I was looking for. Thanx for that.
When I change the amounts in 'site settings' the amounts under the thermometer change as they should, but the image in the thermometer itself stays the same, at 50%.
Any idea?

CommentFileSizeAuthor
#2 donations_thermometer-420442-2.patch317 bytesMark_Watson27

Comments

Mark_Watson27’s picture

Status: Active » Needs review

Sorry should have posted resolution here instead of in the post:

http://drupal.org/node/513730

Mark_Watson27’s picture

StatusFileSize
new317 bytes

I created a patch to resolve this, this is only my second patch I've ever created so apologies if I'm missing something

Mark_Watson27’s picture

Status: Needs review » Needs work
Mark_Watson27’s picture

Status: Needs work » Needs review
jackalope’s picture

Thanks for the patch; I had the same problem and as far as I can tell this has solved it!

zc881373’s picture

So I understand that changing the height value in the css will appropriately change the image, however I was wondering if there is a way to have the height value changed in the css automatically when the numbers are changed?

I am still new to drupal and coding in general and am thinking this would be possible by modifying the php code in the .module file but am unsure how to do this.

Any help would be great.

dboulet’s picture

@zc881373, the module already adds css to the page which adjusts the height of the image, but that rule then gets overridden by the declaration in donations_thermometer.css. This can be fixed by deleting the appropriate line in donations_thermometer.css, that is what the patch in #2 does.

sejtraav’s picture

Status: Needs review » Fixed

Thanks heaps for the support guys. I removed that line, see upcoming release.

Status: Fixed » Closed (fixed)

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