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

AcidFree image open in _blank window

Hi,

Is there anyone who would know how to make an image within an album popup in a new window (_blank) while i am clicking on it?

Thanks

Displaying Form in Settings

Hi,
I created a custom module and is trying to display a form under settings.
I used:

function custom_module_form($bid = NULL){
    /* Code goes here */
}

but my form just doesn't show up.
It only shows "Save Configuration" and "Reset To Defaults"

Redirect with a form button

Hi!
I am writing a new node type, and I want to put a button to the edit form, which opens an another page (for example an other node's edit form). I don't want to submit the form, because there may be unfilled fields.

I read the form API, but there isn't too much from the buttons... I viewed the node module, because the delete button on the node's core edit form does something like I want. I found this:

hook_form 4.7.x and 5.0

Hi,
I'm new to drupal and startet writing my own modules. Now that I have tried the upcoming 5.0 version of drupal I want to continue developing my modules for the new version.

I created a new node type and extended the node form by using the hook_form(). According to http://drupal.org/node/64279 (Converting 4.7.x modules to 5.x) this hook does not seem to have been changed or removed so I thought at least displaying the nodes form should work. But it seems I'm wrong.

How to do extra calls when settings page is updated.

Within a module I have hook_settings()... where the form and its values are defined...

Is their any hook I can call when a user changes values on the settings form?

When a user has changed a value I need to call some functionality of another module...

edit content shows default values

I have built a simple form which seems to be capturing the data ok as I have checked the database that they are inserted correctly. When I tried to edit the form, the form displays default values for each field instead of the data from the database, what could be wrong?

Pages

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