Hello all,
after hours of struggling I have finally decided to ask someone smarter than me about Drupal 6 and AHAH, whil I cannot understand one behaviour and I do not know how to trace it.
On one page I have:
View, that produce list of links to menu_hook callback, that after 'click' are supposed to load node and than in pointed area produced output.
menu hook looks like this:
$items['matching_bew/loadBewProfile/%'] = array(
'page callback' => 'matching_loadBewProfile_callback',
'page arguments' => array(1,2),
'access arguments' => array('access content'),
'type' => MENU_CALLBACK,
);
callback matching_loadBewProfile_callback
simply use load_node and with theme() generates me output
that then due to module Ajax Links, loades it to pointed region.
And that works pretty fine, but now I need to add an AHAH form, that will be mainkg db operations using provieded by data from those above metioned links. And the problem is, that
before I use link, form works fine
after I use link, form looses it`s AHAH possibilities, and after submit redirects me to main page
Is is the probelm with Ajax Links module, that deletes connection between javascript and my form?
Or there cannot be more than two obecjest that are trying to load some content through menu_hook?