[development] How to make Require_once refreshable

Nancy Wichmann nan_wich at bellsouth.net
Mon Oct 5 16:02:48 UTC 2009


> 3) You're actually editing the wrong file.
Hmm....

>From node.module:
  $items['admin/content/types'] = array(
    'title' => 'Content types',
    'description' => 'Manage posts by content type, including default
status, front page promotion, etc.',
    'page callback' => 'node_overview_types',
    'access arguments' => array('administer content types'),
    'file' => 'content_types.inc',
  );

But a hook_menu_alter to dump the entry shows:
Array
(
    [title] => Content types
    [description] => Manage posts by content type, including default status,
front page promotion, etc.
    [page callback] => content_types_overview
    [access arguments] => Array
        (
            [0] => administer content types
        )

    [file] => content.admin.inc
    [module] => node
    [file path] => sites/all/modules/cck/includes
)

The file has changed somewhere along the line...

Nancy E. Wichmann, PMP
Injustice anywhere is a threat to justice everywhere. -- Dr. Martin L. King,
Jr.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.drupal.org/pipermail/development/attachments/20091005/825a4f28/attachment.htm>


More information about the development mailing list