ajax

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
kaspar's picture

Triggering my JavaScript on Ajax.module events (success, error ... )

Hi,

I'm trying to trigger my JS function to be executed after successful form post in order to update some arbitrary container on page with the data.

I saw that there is "updaters" array in JSON response but I'm not sure how to fill it with data. Should I do that in the form definition array, or somewhere else. Do I maybe take wrong approach to this? I feel like I'm missing something :)

Is there maybe a link to detailed tutorial on using Ajax.module where I could get into more details?

Thanks for help,
Ivan

Read more
markus_petrux's picture

Dynamic customization of views, but also need support for views ajax

Hi,

This is about a problem I have found when trying to write a feature for a module that needs to provide back reference views to nodes based on CCK node reference fields.

What I would like this to work is that the module provides a base default view that is used to provide all back refence views. This view can be modified to add more fields, change the style, add and/or expose filters, and so on. The user can also clone this view and assign the customized clone to any particular back reference relation.

Read more
sstedman's picture

SoC 2006: AJAX Form Builder - Is there anything like this for Drupal 6?

I am looking to propose a few ideas for SoC 2009. I like the basic functionality of the Webform module that ships with Acquia, but I am wondering if an AJAXy / easy to use implementation has been developed for Drupal 6? I have searched around and cannot find an AJAX forms package for Drupal 6. I did find this same proposal in SoC 2006: AJAX Form Builder, and was wondering if something like this has been developed. Before I make a proposal on this project, I want to be sure that this does not already exist in some fashion.

Read more
btopro's picture

Ajax support / Auto-save support for tabledrag.js

Trying to get a bit more discussion to see if this is something people are interested in. At DCBoston the creator of the table-drag.js drupal extension to make all tables drag-and-droppy said it would be cool if there was a way to AJAX update it. Well, I have it working for the book's table and would love to extend my solution into a good one that would provide this functionality to all tabledrag's. Having some issues trying to think of how to make what i've done generic enough w/o having an overarching API for modifying drupal objects via js calls.

Read more
brendoncrawford's picture

Ajax 6.x-1.11 is Out

I know it seems like there has been a major release every other week, but this has only been due to the enormous amount of fixes and refinements being made due to the wonderful feedback of the Drupal community. I like to think that it never hurts to "release early, release often".

The big news for this release is file upload capabailities. This of course opens up a whole new world of possibilities. Due to these new capabilities and a number of other fixes, there have been some API changes and filename renames.

Read more
nedjo's picture

Loading additional CSS and JS with AJAX/AHAH requests

An issue when loading and rendering content via AHAH is that the content may rely on CSS or JS code not present on the original page. In this case, there is a need to load and execute the additional code (CSS and JS files, inline scripts, Drupal.settings data).

There are now two API modules to provide this functionality.

Read more
nedjo's picture

AHAH/AJAX form validation and submission for Drupal core

Currently there are various contrib modules implementing form validation and/or submission via AJAX/AHAH.

The earliest is Ajax submit. Originally part of the Javascript Tools package, Ajax submit was moved to its own project for Drupal 6. In Drupal 5 Ajax submit combined an API and a UI. For Drupal 6, the UI was (temporarily) removed in order to produce a pure API module that could be used by other module developers free from a UI. At the same time the Javascript was rewritten to use the jQuery forms plugin.

Read more
neochief's picture

AJAX comments module released

Hello, guys

I'm happy to inform you that finally, I've released complete and working AJAX comments module for Drupal 6 and 5. And it is ready to be installed and used.

Project page: AJAX Comments
Demo page at my site: http://drupaldance.com/ajax_comments (It's in russian, but I'm sure that you know where to click to test it ;)

Thanks for your oppinions and suggestions.

Read more
recidive's picture

Asynchronous module: 100% AJAX Drupal

We have seen a lot of interest in making Drupal load content dynamically. This enables many use cases not currently possible. E.g.: on a past project, we have been asked to make a video player play continuous, while the user browses the site. On a Drupal 5 site, the only way to do this was using frames, and frames sucks.

Some improvements were done in Drupal 6 to pave the way for AJAX. We got dynamic form submissions (AHAH), jQuery forms library and javascript behaviors can now be re-attached. On the server side, however, things haven't achieved such maturity.

Read more
SageOfCode's picture

Ajax in Drupal via jQuery by Example

I am writting becasue I have been working on a module that utilizes Ajax in Drupal via jQuery called "ActiveField".
The module is somewhat unique from other examples that I have seen in that:
1. It works with CCK content types while they are being created (i.e. before they are persisted to the database)
2. It works with existing themes and does not have it's own theme

The module is documented at: http://www.sageofcode.com/?p=59

Read more
Subscribe with RSS Syndicate content