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

module name minimum length?

Can anyone confirm that Drupal 5 module names must be 4 characters in length or greater?

We're re-writing our asset management tool, ERM and using the 3 character name now results in no module being detected by drupals module installer...

Bad:

; $Id$
name = erm
description = "ERM Core Components"
package = Resource Management

Good:

; $Id$
name = ermx
description = "ERM Core Components"
package = Resource Management

How to correctly create a release?

Greetings,

I created a project Media Field http://drupal.org/project/mediafield and have commited its source code for drupal 4.7 branch here http://cvs.drupal.org/viewcvs/drupal/contributions/modules/mediafield/?o...

As I remember, I have also created a release from DRUPAL-4-7 tag. Anyway, it is not available now when I'm trying to create a release.

How to print out a javascript link?

Hi guys, I've never written a Drupal module before, but have been experimenting a bit in the past few days.
I've written a function to implement hook_nodeapi, so I could supply some additional links to the $node object.
But I can't figure out how to add a javascript link into my $node->links['test_js'] array.
The following code is functional, but the javascript is printet out as an internal link. Eg. ?q=javascript:alert('hei')

Create an image element using form generation API

Hi,
I'm developing a module('s block) that should render an image (img src='') and I can't find a way to render one using the form api
http://api.drupal.org/api/HEAD/file/developer/topics/forms_api_reference...
Another question is how can I embed an image into a submit button
Any help would be greatly appreciated
Thanks
Oreng.

CiviCRM: Logging Meetings, Call, Etc.

Is there a proper practice to remove the default types of actions from CiviCRM (ex: phone call, email)?

Also, is there a way to set the permissions in such a way that a user can log a meeting with a contact but doesnt have permission to edit that contact?

Thanks,

Chris

Replace occurances of CiviCRM

I would like to be able to replace all occurances of CiviCRM with something that makes more sense to the client like "Contact Manager". Is there a good method/right practice for doing this besides the obvious answer (going through the code and replacing all instances of it). Also, there are other aspects of the CiviCRM system I wouldn't mind changing. For example, for this project I would like to change "Groups" to "Teams".

I am running the most recent stable version of CiviCRM (v1.5) and Drupal 4.7. Any thoughts?

~Chris

Pages

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