Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
I have created the beginnings of my first module, called books.module. It shows in the list of modules in the admin/configuration/modules screen, but only the description shows, the module name ("books") is empty. :(
Here is my code:
<?php
function books_help($section) {
$output = t("Enables display of a list of books, including affiliate links
to purchase those books.");
return $output;
}
?>
It's about the simplest module I can create. But why doesn't the title show up in the modules list? Any help is appreciated. I'd like to write several modules for my project but need to get a simple one working first.
I've modified 4.3 queue.module to let the admin select an expiration time, in days, for the nodes on moderation queue in adition to expiration by number of votes. You can set expiration time in days through queue administration pages and crop.php will take care of remove those that has expired through a new function queue_cron added to queue.module.
This is the diff I've obtained comparing my modified version of queue.module with drupal 4.3 queue.module:
Hello, I would like to have an address book/directory in which I could include companies contact details all filled under different categories. The standard yellow pages kind of thing. Would the catalog module be a good one to use for this?
thanks