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

Releasing modules to the community; is it possible to make 'addon' modules?

I've begun work on a similar module to Contact Directory for my work. The goals are pretty much the same as Contact Directory, except we want the module to be as user-friendly as possible, allow new fields types to be created/deleted easily, and have a summary page for each entry. We looked at the contact_dir module and decided it wasn't user friendly enough (the people who will be managing the directory can barely manage html).

4.6.6 weight module issue

F O L L O W U P . . .

my second discovery:
I discovered that when I change the node weight the weight module weight also changes.

I am still looking for suggestions . . . I just thought it might be better to post this sepratley.

Thanks,
t4him

My original discovery:
post is here. It is as follows.

Q regarding hook_footer()

Hi,

The API docs state that the var passed to hook_footer($main) :-

$main Whether the current page is the "main page" of the site.

However, regardless of page, $main seems to be set to 0 all the time. Hitting "Home" on the menu sends the browser to home page (see the mission statement) but $main is still zero.

What's the real purpose of $main arg ?

Regards
AjK

ARTICLE MODULE

I' m sorry my english is bad,

I' m installing the module Article on my local site (I'm working on)

I went in administer -> modules menu. I Enabled the module by clicking the box next
to it and I saved my configuration via the button at the bottom of
the page.

into the INSTALL FILE I' m not able to follow the instruction " goto the settings -> article menu"
(I' have the italian version of Drupal), and I really can not understand where I can find the -> article menu...
can you help me?

THANK YOU
Laura

Including a file upload for a new node module

I am in the process of making a restaurant guide node module, and it works great, but I'm having issues on how to get Drupal to play nice with a file upload feature. I've figured out that I need to set the options in the form hook to do enctype="multipart/form-data" and I can get the file picker on the screen with the form_file() function, but in what hook do I get ahold of that uploaded file so I can manipulate it? There's a nice file.inc file that lets me do all kinds of nifty things with the file once I get it, but I don't see how to get at my file once I click save.

node_privacy_byrole module set up

Hi,

I'm currently using Drupal 4.7. Everything works fine except I tried adding a new module: node_prviacy_byrole as I'm trying to make a wiki like page.

After I enable it I keep getting the following error:

Fatal error: Call to undefined function: form_hidden() in /var/www/modules/node_privacy_byrole.module on line 426

Does anybody have any idea why?

thanks

Pages

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