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

How do I catch a node before rendering to alter it?

I am developing a new module for Microformats, and so far have managed to complete stage 1.

What it does is when a user creates or updates their profile it takes their $user->email and a custom profile field called profile_homepage, and generates a MicroID hash like this:

form input as date-time, calendar

Hi,

I have an input field in a form where user have to select a datetime, is there a way to include a calendar (popup?).

regards

Sliding Menu

This is my work log for Sliding Menu

- Started Dec 1st
- early beta

check it out - http://www.thethisorthat.com/

Advanced hook_form_alter()

This hook is very handy, but in practice I see one possibly big problem. The problem is that any module can use this hook to change some form.

So how can I be sure that my changes will be the last to take effect?

Cheers!

Question about form_set_error

I am updating my mailsave module, but the way the form_set_error() function works is giving me a slight problem, so I just want to understand why it is written like it is. I'm sure there's a reason, but I like to know how things work!

Is there a way for external scripts to consume Drupal functions?

I've experimented by simply trying to include Drupal's bootstrap (similar to how it's done in index.php), but it won't work.

Is there any way to include the bootstrap or something similar so that I could use Drupal's functions in an external script?

Thanks in advance,
Matt

Pages

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