AHAH Help
I need some additional guidance/confirmation
I am working on some AHAH interactions on a module I am working on I have 3 AHAH actions that I need help "DRUPALising" I know how to do it with PHP but I am working on trying to get better at using the Drupal API rather then falling back on pure PHP
1st I need to find all of the "Node IDs" and "Titles" and return that in to the AHAH JSON event. to find the nodes I am planing on using something like
$result = db_query('SELECT n.nid, n.title FROM {node} n WHERE n.type = '."'node_type'".' and n.status = 1');
$output = '';
Trouble with some SQL core code
Hi Guys/Gals,
Read moreHow to use AHAH inside a form_alter hook?
I'm trying to add AHAH functionality inside a hook_form_alter() to be able to add an icon next to the block titles.
Here is how all this procedure works:
Read morei Need help dynamic load content without refresh page (Drupal full AJAX)
hi
i need help for finding a way to have a full ajax drupal website (dynamic loading content without refresh page) like "Asynchronous" module
i just found "Asynchronous" module but this module is developing and not stable
i used that module and had a problem in pagination:
when i click "next" or "page 2" error displays:
page can't find
The requested page could not be found.
http://localhost/mydrupal/#category/textcontent/shortstory?page=1&page_r...
please help me this problem or recommend me a better solution...
thanks for help me
Read moreShould AJAX be depreciated in favor of a AHAH module?
I read some discussion (maybe find them back later) about that AJAX is replaced by AHAH and CTools in D7.
As I'm constructing a module rich site, it will take me at least a year to change to D7 when all those modules have been upgraded.
But I prefer to work with the new technology for D6, not the old one. Will AJAX be modernized for D6 to be fully AHAH?
Or would it be better to start a AHAH project and move all functionality of AJAX over to that project for D6, as well as for D7?
Read moreUse ahah on configure pane form for own content type
Hi,
i'm trying to get ahah running in the form for my custom ctools content type, which is shown at configure pane.
My goal is to provide a form with textfields and a "add textfield"-button, so the user is able to add new textfields.
After getting no results so far i began wondering, if maybe the modal dialog is not compatible with ahah?
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 moreAHAH/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 moreAsynchronous 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 moreAHAH fungerar nästan...
Får inte riktigt AHAH funktionaliteten att fungera, men nästan...saken är att den path (#ahah['path']) som jag angett returnerar ju en hel sida och inte bara en delmängd html eller text. Hur gör man för att bara returnera det som funktionen för menu_call_back returnerar?
Som test har jag lagt till en dummy checkbox till loginformuläret och på sidan finns en div med id 'myahahdiv'.
Min hook_form_alter:
function minmodul_form_alter(&$form, $form_state, $form_id) {
if (in_array($form_id, array('user_login_block', 'user_login' ))) {
$form['foo'] = array(

