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

A module/script/inc to list version numbers?

I've just started out with Drupal. I'm still alpha testing my site, found out the hard way regarding using the correct module versions, and already dreading future upgrades.

My suggestion is for a way to know the version numbers, particularly of modules and your Drupal installation, without going looking through the files themselves, which in most cases mean ftp. Of course, if you maintain the site, the onus is to keep a note of them. What I do is to keep the downloads of the gzip files so I can tell which versions I have.

But what happens if you lose them, or take over somebody else's installation. Ftp downloading and reading text files are a chore.

Let me apologize first as I haven't done any major php coding (only changed a line here or there, or code-copied), or if this is being worked on, but I hopefully can point someone in the right direction.

In well-coded files, the second line usually contain the Id's so I think this is the only location for the version numbers. The system database also holds the info on the modules. I can think of 3 ways on how to get the numbers from the browser interface:

1. A script to read the second line from each module, either one-by-one (quick) if you make the link from the module settings page, or the whole gamut (lots of file lookups). Reading the text files however doesn't sound like good security, and would take lots of php filters to get to the number.

mailhandler.module - NEW VERSION - how to submit?

Following some urgences i decided to continue in the developing of mailhandler.module ...

In my actual version, it is capable of handling attachments and storing them using attachments.module APIs

I do not know hot to submit it to the community in order to be tested and eventually published as new release.

many thanks
kind regards
alberto

How do I swithc theme via my module code?

How do I swithc theme via my module code?

Page module and custom theme

I just created my first page module.
But I need to use the completely different page layout for pages generated by the module.
How do I output content from the module via custom theme, not default one?

warning: Missing argument 1 for mymodule_help() - help needed

I am completely stuck, thanks for any help.
using the drupal CVS head from about 2/25 (4.7 of course)

with a simple module named "iquote" , I get this error message:
warning: Missing argument 1 for iquote_help(). and the page never finishes, instead I get "array" - so somehow a reference is confused with an array or vice versa, or maybe its all voodoo.

whats happening is the hook_help function is being called twice. The first time with a path in $section, and the second time with an empty $section. Other modules dont have this problem, just mine.

SMF forum intergration

Has anybody been able to intergrate the SMF forums? http://www.simplemachines.org/

Pages

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