I have written some Ajax that sends a nid to the server, which gets the node_view for that nid and returns the HTML and then die()'s, This HTML is rendered dumped into a DIV. The problem is that when a form is part of this HTML render its action points to the Ajax URL not the node/ as it usually does and so Drupal fails to process the form.
IS there anyway to ensure forms get their appropriate action value if they are rendered by an Ajax request?
I tried to add a feed into my news aggregator, but got this error on submit:
user warning: Field 'description' doesn't have a default value query: INSERT INTO aggregator_feed (fid, title, url, refresh, block) VALUES (3, 'Kuku Blog', 'http://kuku.wordpress.com/feed/', 3600, 5) in D:\xxx\root\includes\database.mysql.inc on line 172.
I was checking out the API documentation for db_num_rows() and as you see there's only a function for PostgreSQL databases. It looks kind of weird to me, as the DB abstraction layer is supposed to support MySQL as well.
Hi All,
I stuck with a peculiar problem with CCK_address module.
In CCK_Address module there are two options for display settings;
default, hidden => for teaser and page views.
What I need is to show some fields and hide others. Just like;
Show => country, province , city.
Hide => street1, street2 etc.
Is there a way out?
Hello,
I have searched throughtout the drupal site for 2 days but I can't find anything to fit my needs. It appears to me that more people would need this function and it's probably been done before.
What I am talking about is the following: I would like to have the comment form in a popup window and and the actual comments beneath my articles. So this would need an auto reload function or something.