Would be a nice feature to add help in block two ... and not only page elements !
maybe with : http://api.drupal.org/api/function/template_preprocess_block/6

CommentFileSizeAuthor
#3 blockhelp_v1.patch873 bytesbatje

Comments

kenorb’s picture

Status: Active » Fixed

It's in alpha6 already (helpinject_block).

kenorb’s picture

Status: Fixed » Active

Or maybe not.
You can try:


/**
 * Implementation of hook_preprocess_block().
 */
function helpinject_preprocess_block(&$variables) {
  $key = $variables['block']->module . '_' .$variables['block']->delta;
  $variables['block']->subject .=  _helpinject_admin_link('block',  $key , t($variables['block']->subject));
  $variables['block']->content .= _helpinject_help_content('block', $key);
}

batje’s picture

Status: Active » Needs review
StatusFileSize
new873 bytes

Here is a patch (with a bit of security) and injecting the ? in the header of the block, not the content.

kenorb’s picture

Issue summary: View changes
Status: Needs review » Closed (outdated)

Drupal 6 is no longer officially supported. If you think this issue is still relevant for 8.x, feel free to re-open.