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.
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?
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.
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.