Closed (fixed)
Project:
Drupal core
Version:
7.x-dev
Component:
image.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
12 Dec 2009 at 15:28 UTC
Updated:
3 Jan 2014 at 01:08 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
eojthebraveThis should do it. And marking as critical since this really should be fixed for Drupal 7.
Comment #2
matason commentedThis patch applies cleanly and displays the effect help at the top of the form.
Comment #5
dries commentedWithout studying the surrounding code, is there a reason why we don't use $form['#markup'] instead of $form['effect_help']['#markup']? (I should probably look at the surrounding code.)
Comment #6
matason commentedDries, I am not sure exactly why but $form['#markup'] doesn't seem to get picked up, it seems to need to be nested...
Comment #7
dries commentedA missing help text is not a critical bug. It is an important bug, but not one that should block a release.
Comment #10
matason commentedDries, regarding #7, I completely agree, this is an easy fix, #1 does the job.
Comment #11
webchickIs there a reason this isn't in hook_help()?
Comment #12
eojthebraveI believe it was done this way so that modules which add additional effects could declare the help for those effects in hook_image_effect_info(). Though image.module could collect them into hook_help(), or every module that declares image effects could implement hook_help() itself. Preference?
Comment #14
theunraveler commentedHere's a patch that displays the help text with hook_help().
Comment #15
eojthebrave#14 is the right way to do this. Thanks!
Assuming this passes tests (and I can't see why it wouldn't) this is ready to go.
Maybe not a critical issue, but an important one for sure. Sticking with the theme of making Drupal 7 the most user friendly version of Drupal ever lets make sure this gets in. There are no API changes and it is a super simple change fixing something that should have been working in the first place.
Comment #16
webchickGreat. Thanks a lot, folks!
Committed to HEAD.