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

Created Module - How do I contribute?

I created a very basic module to enable the ability to send an email notification to a maximum of 5 email addresses when a visitor has registered an account.

This was something I read numerous forum threads about so I thought that I would contribute this module for others to use but I am not sure how to go about that. Can someone point me to the guidelines on contributing modules?

FYI, this has been developed and tested against only 4.7 RC 3.

Thanks,
-Derek

Need help with authmaps...documentation available?

I'm working to develop an authentication module. I've managed to get everything working, but I'm still not clear on the job of the authmap table. I haven't been able to find any documentation about it either.

Really I just need to know if there's a way to get entries put in there automatically. I want to be able to add users to the site and have them listed in the authmap table. I could probably do this by creating a custom "add user" page for my module, but I don't know if this is best thing to do. Is there another way to get entries put in this authmap table?

thousands of taxonomy terms?

I'm building an online dictionary and like how the taxonomy system works. Would there be any drawbacks to giving each word of a language (two different languages) it's own term? I guess I'm taking the sense of 'vocabulary', 'term', and 'syllable' quite literally!

thanks for your advice!

Add term via module.

I am wanting to create a term for each node added with my module. I have tried a simple insert into term_data but this does not add to the taxonomy.

Any ideas?

How to hook insert/update/delete on "extension" type module

I have almost done small module which should have expand core menu.module with field CSS class. I only need hook on menu.module insert item, update item and delete item functions. How can I hook my insert/update/delete function on this menu.module functions?

I have inspiration from this issue http://drupal.org/node/54946.
There is code (menu_item_class.module):

<?php
// $Id$

/**
* @file
* User defined classes to each menu item
* http://drupal.org/node/54946
*/

/**
* Implementation of hook_help().
*/
function menu_item_class_help($section) {
switch ($section) {
case 'admin/help#menu_item_class':
$output = '

User defined classes to each menu item

';
return $output;
case 'admin/modules#description':
return 'User defined classes to each menu item';
}
}

/**
* Implementation of hook_form_alter().
*/
function menu_item_class_form_alter($form_id, &$form) {
if ('menu_edit_item_form' == $form_id) {
$mid = $form['mid']['#value'];
if (!empty($mid) && $mid != 0) {
$class = db_fetch_array(db_query('SELECT class FROM {menu_item_class} WHERE mid = %d', $mid));
}
else {
$class = '';
}
$form['class'] = array(
'#type' => 'textfield',
'#title' => t('CSS class'),
'#default_value' => $class,
'#description' => t('Individual CSS class for menu item. Applied only if not empty.'),

Paid memberships module -- wishlist

We are trying to get a paid memberships module made for 4.7 working with ecommerce.

Scott White is working on a memberships module in his spare time.

Scott indicated he is working on 4.7 and within the ecommerce suite. Gordon and everyone are already working to make address not required.

Below is a wishlist for this module.

Pages

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