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

GMap Module: center maps on user location

I would like to make my gmaps center on the user's location if it is available or use the default center if it is not. For example, clicking on the user locations menu item will show the user map centered and zoomed on the user's location so he could see who is in the immediate area. Has anyone tried this before or have any tips on where to start? Thanks for any help.

Module development help please

I want to write a module that allows downloading of a file by referencing the node the file is attached to. For example, if I have a file word.doc attached to node 242 I want to be able to access it via someting like node/242/file/word.doc or if there is an alias for node 242 such as documents then, documents/file/word.

Is this possible? I've noticed it probably isn't possible with the alias in the way I've specified as the alias system needs an exact match. Could it be done with documents?file=word.doc?

Secondary Authentication during migration period

Hi

I'm currently trying to migrate an old PHP site to Drupal. The problem is that the old passwords are encrypted using crypt() and as far as I can tell Drupal is using MD5.

I want to create a module that does the following:

- User tries to authenticate
- If Drupal authentication fails the password entered is also checked against the "backup table" which holds the passwords in crypt.
- If the password entered matches the crypt one the new Drupal password is set to the one entered and the crypt password deleted from the table.

CiviCRM 1.5 and Drupal 5.0

Hi,

Is anyone successfully running CiviCRM with Drupal 5.0?

thanks,
grace

How to get $node in a block definition

Hello fellow drupal coders,

Is there a way to have the $node variable available in a block definition?

Or, generally speaking, how can we make a variable available where we want it?

ie6 and drupal

I'm having a screwy problem with one of my sites www.kathimerritt.com. In ie6, if you type in kathimerritt.com (without the www) it doesn't show the style sheets right. Does this have anything to do with drupal? I don't know what's up with it.

Pages

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