Drupal 6: Hook to change the help field on a form

I have a form and want to programmatically change the help text that appears at the top of the page. Is there a hook available for this?

EDIT : "help text", I mean the text entered in the CCK form at: admin / content / node -type / sample-form

Above the text field is indicated:

Explanation or presentation instructions:

The text area has an identifier edit-help

The following is the text:

This text will appear at the top of the presentation form for this content type. This is useful for helping or instructing your users.

How much is that enough?

+3
source share
1 answer

hook_help(), , .

, hook_help(), . theme_help() - , menu_get_active_help(), , , hook_help().

, , , theme_help(), menu_get_active_help() , .

, theme_help() , , ( , ). , arg(), .

A , , , $help, page.tpl.php. preprocess_page(&$variables) $variables['help'] . , , $variables , .

+3

Source: https://habr.com/ru/post/1715470/


All Articles