This forum is for module development and code related questions, not general module support. For general support, use the Post installation forum.

Block that knows what node[s] are displayed?

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?

Content Type-Specific functions in Print.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.

Help Needed-I am new To Drupal

HI I am New To drupal...(I got two problems clarified earlier here thatnks for that)..

*** I need To add Some code below header And above Footer Where to add..Which file to be modified..

*** I Need To attach My Adsense Code With all the articles...........
Can this be done ..please help waiting for your reply..

Module .info files should not define "version" in CVS

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.

Tagadelic

I want to get a tag cloud on my drupal site, and it seems I need the Tagadelic module to do this, but I can't find it anywhere!

Can anyone help?

Form redirect or action

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.

For example:

if my url is http://example.com/search and I have "test" in my textfield, when I press submit I want the url to be http://example.com/search/test.

Pages

Subscribe with RSS Subscribe to RSS - Module development and code questions