Drupal 6 modules put the menu callbacks outside the module file, generally in files called <module_name>.admin.inc (administration pages), or <module_name>.pages.inc (normal pages). This permits to reduce the code loaded at runtime when Drupal is loaded, and permits the web site to run faster.

This is made possible by a new attribute, which permits to tell to Drupal from which file the callback function must be loaded (it's 'file').

Comments

Chajecki’s picture

Assigned: Unassigned » Chajecki

Thanks again. I will try to fix it in a new release.

avpaderno’s picture

Version: 6.x-1.1 » 6.x-1.x-dev
Assigned: Chajecki » Unassigned
Issue summary: View changes
Status: Active » Closed (outdated)

I am closing this issue, which is for a not supported Drupal version.