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

Pages not generating properly?

In my new module I've created a page with a callback like module_callback() and in most circumstances this trick has been working when combined with the relevant menu items. However I'm now trying to implement local tasks to a single callback like those on a node with urls of the format ?q=module/pagename/[id]/localtask etc.

PHP or Drupal?

I searched the PHP documentation before posting. What exactly does the t('string') function do? I couldn't find it in the PHP Docs and it is used extensively in the Drupal code.

Thanks.

Not Saving User Hook Data

I have a module which inserts fields into the registeration form the hook_user(). I am however finding the data always ends up in the table. Anyone have any ideas as how to make it not save any of the data in the user table from the specific hook implementation?

Email Search Module available

Terminated request because of suspicious input data.

Trying to post some sample code for an emailsearch module I hacked out of the search.module. Anyone interested in seeing it? http://www.unicoischools.com

Modify a form after the Submit Button

Hey all -

I'm currently working on a module (for 4.6) that requires some information to be inserted into form tags after the Submit button. The module is an implementation of WebHashcash (http://www.davidsj.com/webhashcash/), an anti-spam mechanism for the web.

hook_access() problem - I think

Hi guys, I'm a bit of a n00b at this but I hope you can help.
I found drupal about two weeks ago and have used it to create a site (almost ready) but I have a problem with some Modules I've created. My users can create new content but they cant edit their own content, you need node admin to do it. What have I done, my module is based on story and everything works fine except that user CANT edit nodes they have created with my modules (originals modules work fine like 'page').

here are my permisions lines in the review module, do I need something else?

Pages

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