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

form api

what piece of code within drupal calls my module_form and expects a return of my form as output.

i would like to change the way drupal's form code creates its forms as they are not nice for javascript purposes ie "module-form".

thanks guys!

how do i create a simple button ?!

Hello Every one
the heading says it all!
1) I have created a new custom page of my own with a few textareas and textfields (Which work perfectly)
2) Now i am trying to create a simple button with a javascript call on it.

i am doing some thing like this like :

Listing cats with image/description

Hi there,

Is there a way to attach an image/thumbnail to a category along with a description? My scenario is, every week I need to post a certain number of articles into category 'Cars', for example one week I will post 7 articles on 'Sedans'. And then the following week I will post another 7 articles in a category called 'Wagons'. I then need to dynamically list all these car type categories with a respective image and small description. Can anyone give me hints on existing modules, or if there is an 'easy' way to do this?

Thanks so much, p.

Need specific Module for Editing

Hi,
i am looking for a Module. With the installed basic Modules, the Admin has to publish an document, that a User wants to release. But after the publishing, the user can edit this document and the admin would not get any notice of this and it is immediately published.
I need a Module in which the Admin has to publish the changes of an edited article.

Can someone help me plz?
Best regards,
Ela

cols for textarea doesn't change

Hello,

I have the contact module on my website, now i want to edit the cols for the textarea...

    $form['message'] = array('#type' => 'textarea',
      '#title' => t('Bericht'),
      '#required' => TRUE,
      '#cols' => '20',
      '#rows' => '20',
    );

Rows is working fine but the cols don't change...

What am i doing wrong?

qnallur :)

module / javascript onload frustration

Ok im sick of searching this site and getting a horrible mix of 5, 4.7 and older results discussing jquery in drupal. Implement a damn fiter already!!!

I would like to know once and for all how the hell do i get an onload event to trigger in my drupal 5 module. The following code that ive found doesnt work so im getting a little frustrated.

$(document).ready(function() { myFunction(); });

Could someone please help, thanks guys!

Pages

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