I am writing a module to define a new type of block
I am trying to create a block that displays additional information about the currently displayed node (if in single node view) or nodes (if on front page/term view).
How do I get a list of currently visible nodes from within my module?
Can anyone point me to the code within comment.module in which content type-specific settings are set and/or evaluated? I'd like to give a shot at enabling the same kind of content type-specific functionality for the print.module.
Greetings, Drupal developers who maintain modules in the Drupal contributions CVS repository...
As per the thread on the development mailing list about this topic, there's no longer any reason for module maintainers to ever define the version attribute in the .info files they commit to CVS. The packaging script on drupal.org adds the correct, human-readable version string to all downloadable tarball packages automatically. The only reason to define version attributes in the .info files commited to CVS was to help the power-users who deploy Drupal sites from CVS, but those people now have the CVS deploy module to use, instead. See also the handbook page on writing .info files for modules for more. Many maintainers and users have been confused about this, and lots of maintainers are currently doing it wrong.
After various discussions with the other CVS administrators, we've decided it would be better and cleaner to simply remove the version = * lines from all the .info files in all of contrib, all at once, instead of waiting for module maintainers to slowly clean this up. This forum post is just here as another FYI about this decision.
I have created a custom search module that consists of a textfield with name edit[keys] and id edit-keys contained within a form named search_form. When I press the submit button, I want the action of the form to be updated to include the text that appears in my textfield.