Posted by kiamlaluno on July 27, 2008 at 2:26pm
Jump to:
| Project: | Blog Add-ons |
| Version: | 6.x-1.1 |
| Component: | Code |
| Category: | task |
| Priority: | normal |
| Assigned: | Chajecki |
| Status: | active |
Issue Summary
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
#1
Thanks again. I will try to fix it in a new release.