Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
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.
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.
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.
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