Drupal 6 AHAH + ajax links => strange from redirection

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?

Block SSN from being submitted in a form field?

Is there a way to prevent people from typing their social security number into a field in a webform? Maybe some kind of validation that won't allow numbers in this pattern? (xxx-xx-xxxx)

Adding Google AdWords Conversion Tracking code to contact form

I am an absolute newbie in Drupal, so please forgive my ignorance.

I have got a Drupal 6 site to maintain, and I need to add Google AdWords Conversion Tracking code to the contact page on the site.

I have the code, but using CMS on the site itself I cannot find the way to do it.

Should I write my own custom contact form module just for this, or am I missing something?

Using Drupal on LAN?

Hi everyone.

Is it possible to host a Drupal website on a LAN network? A hospital would like to keep track of its patients' records, and I thought a locally hosted Drupal site would be great for this.

If this is possible, please let me know what I need. Any advice to this approach would be appreciated.

Thanks in advance.

Ajax error

Whenever i am adding new field in view, it is showing message "An error occurred at /admin/build/views/ajax/add-item/upcoming_events/default/field. "

Can anybody suggest me why it is coming

How to set up website on a localhost

I have spent the last few hours trying to setup my website on a localhost. I attempted to use Acquia Dev Desktop which I was told was the easiest, however I receive the error "Broken Pipe" error upon import and it does not work. I have also attempted to use WAMP server, but my database file is like 200MB, and its maximum import file is 2MB, so that did'nt work either.

What is the best way to set up localhost in your opinion?

Pages

Subscribe with RSS Subscribe to RSS - Drupal 6.x