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

Customizing an existing module

Hi,
I'm new to drupal module development and I would appreciate any help about this one.
I would like to add custom fields to an existing module so I've added the fields in module_form and also updated my db schema (mysql) and module_insert BUT I when module_insert is called my new custom fields are empty ($node->customField)
Am I missing here something ?
Thanks,
Oreng.

Appeal for Help – Creating an Online Network Module

I'm looking for help!

*Statement of Purpose*
General: Online network module that includes people, groups, events, resources (a.k.a. files), schools – and several less useful things (email lists, campaigns). Users submit information and then control it. Features include: geocoding (both US and international), mapping, total syndication using web-services (the software is separated into server and client parts), international language support, interconnections (people can be connected to groups, that can be connected to issues, that can be connected to resources and so on), an automated email newsletter, and more.

Specific: Targets the needs of activists (including people new to activism, part-time activists, and full-time organizers). Particularly useful for grassroots organizations with limited resources.

*Demo*
The original software whose functions I want to port to Drupal is running on CampusActivism.org and ActivismNetwork.org with 3700 people, 1500 groups, 430 resources and 1400 events.

Developer Site: www.activismnetwork.org/developers/

*Ways to Help*
I'm looking for
1) People willing to give me guidance relating to integration with Drupal. On questions like best practices for module development, how to use existing Drupal modules, how to combine my system with Drupal, etc.
2) Developers
3) Users who want to give feedback on features

*My Experience*

CCK made easy

CogRusty wrote in a post elsewhere in this labyrinth -

" CogRusty - December 3, 2006 - 01:29
All node types will be derived in a CCK way in the future. One or two, perhaps story and page or some other will be pre-made for you in this way, just for the convenience of new users (it would take a minute to create them themselves if they knew how). "

tinymce problems

I did have trouble installing tinymce yesterday, but finally got the module installed after geting the new, corrected Drupal 5.0 module.
Even after I got the module installed and enabled, it was not showing up in my text fields. I was getting a javascript error that said tinymce was undefined.
It seems Drupal was looking for it in modules/tinymce/includes/ rather than in modules/tinymce/tinymce
I am no developer, so I am not quite sure what I am talking about here. But I renamed the second "tinymce" folder to "includes", and now the feature works.

Form error detection

Hi,

How can I detect if an error message is displayed for a form?

I want to display the same form after submit with all valitated data. If no error occured, I want to add an additional html block to the output page. (e.g. for a simple calculator: the input fields should show the entered values and below the form, the result is displayed).

I tried to use $form['#after_build'] to set an variable to display. But after_build is always used (with and without errors).

How to make Vote Up/down module change $comment->score

Is there a way to make the Vote Up/down module change the $comment->score variable.

The module works fine, the score shows up instantly upon voting, but the comment score variable does not change. Is there a way to have the score (sum of votes) from the votingapi module ? (or vote up/down ? ) inserted into the db table $comment->score ?

If so, it would be great appreciated if you could show me how, or at least point me in the right direction.

much thanks

Pages

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