Hello all.
I'm experiencing a strange behavior on Drupal 4.7 beta 5 (even with a brand-new instance being installed).
Let's suppose that I just downloaded & unpacked a module on /modules/... let's say, "layouteer". When I go to /admin/modules, the module _is_ on the list, but the "Description" field is blank. That happened when I installed the "views" module some days ago and with a module that I started writing. First I thought that the _help hook format (or result type) should have changed, but after checking existing working modules (like forum.module), I realized that the code below was just right:
function layouteer_help() {
$section = (func_num_args() ? func_get_arg(0) : '');
switch ($section) {
case 'admin/help#layouteer':
$output = '<p>'. t('Allows you to create customized pages arranged with one or more existing pages.') .'</p>';
return $output;
case 'admin/modules#description':
return t('Allows you to create customized composed pages.');
}
}
And the same with all registered paths (hook_menu) stuff. Even when the module is enabled, the menu items related to the module are not shown nor accessible by the URL directly. Let's say that I installed the module "layouteer" and it has two paths registered like:
<?php
function layouteer_menu($may_cache) {
$items = array();
if ($may_cache) {
$perm_create = user_access('create layouted pages');