How to add more listeners to an event fired by a form button (ajax enabled) in Drupal 7

The question says all,

I got a form button which has the '#ajax' declaration like this:

'#ajax' = array(
   'callback' => 'my_callback',
   'wrapper' => 'my_wrapper',
)

this button works, but I want to add more js listeners to this button (because I need jQuery function addClass('deactive') to another div element for me), so what could be a solution for this?

Thank you for reading my post! Please help!

How to display thumb image of a content on home page?

Hello Everyone,

I apologizes if I repeating topic.

I installed drupal 7 in my system.

I added a content type article. This article is displaying article title, a thumb image of article and small description on homepage.

When I click on Title of article it re-direct me to article details page where it is showing full image , full description.

**************************************

Now I am creating a new content type from admin panel called "News", and I posted a new News in this .

Drupal 7 Chess now fully functional

I've just created a Drupal 7 Games site featuring chess at: http://aswapathy.com/d7a6cwg/cw_games/cw_board where registered users can create chess games, and then play against a challenger, who must also be a registered user. Anonymous users may watch the games.

The chess game should now be fully functional, incorporating:

  • checking for legal moves
  • en passant capture
  • castling
  • pawn promotion

The only caveats at this point are:

SA-CONTRIB-2010-096 - Domain access - Multiple Vulnerabilities

  • Advisory ID: DRUPAL-SA-CONTRIB-2010-096
  • Project: Domain access (third-party module)
  • Version: 5.x, 6.x, 7.x
  • Date: 2010-September-22
  • Security risk: Less critical
  • Exploitable from: Remote
  • Vulnerability: Cross-Site Scripting, Priviledge Escalation

[Solved] Custom Field doesn't save data

I have been working on a field module in Drupal 7 Alpha 7 to learn how the Field API works. My goal is to create a custom field to store latitude and longitude.

I've run into something that has my stymied, not even sure what to search for. Basically, when I preview my content type with my custom field in it, it shows the data just fine. But when I actually save the page, it doesn't save the data.

I've been using the field_example.module and http://www.figover.com/node/16 for reference material.

Forum website using Drupal.

Hello All, I need a general topic standalone forum website using Drupal.
Please reply with your site/portfolio with contacts on Skype.

Skype: scm2114

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x