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

Panels Module: extra layouts?

How easy/possible is it to create extra layouts for the Panels module?

I'd like to add one with extra 'boxes' in the middle column and looking at threecol_25_50_25_stacked.inc it seems doable, but I wouldn't really know where to start.

arguments for node hooks

(I'm new) and finding conflicting examples around the site for what arguments are used in node hook functions.

The 4.7 documentation on api.drupal.org shows ($node) for hook_validate, hook_submit, etc. Here's an example from http://api.drupal.org/api/4.7/function/hook_validate

working with images inside a form

Hi,

I'm sure my issue is really simple but regardless I am totally stuck.

I have been working on a really basic module that has a few simple form fields and checkboxes. The next step is allowing images to be added to the node and later use the imagecache module to resize on the fly.

My question is: what is the best way to use the image module (if that) with the form api? Is there a way to use the hook_form method to add an image upload field?

Just need a simple "Add image" field that is handled as the other fields are.

Thanks!

Pete

have basic user level permissions per node module... what next?

I finished the basics for a module that gives user level permissions to nodes. I would like to give it to someone more experienced that can finish it or, at least, get it into the public so others can contribute.

future of Mail module (and patch process)?

The documentation for the Mail module says that the module was going to be dropped after 4.6.x but due to requests, it was ported to 4.7.x.

Why would Mail be dropped? (it seems like the best way for admins to send out emails to their users) And will it be ported to 5.x?

how can I use form validation with javascript?

hi,

How can i do form validation using javascript. For example I need to allow only numbers to be entered in a phone number field, but no characters. Where should I add the javascript code within the drupal forms so that on keypress it is checked for validation.
I have asked the same query before but no results.
hope some results turn out now.
drupal_india

Pages

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