Closed (fixed)
Project:
Ajax Table
Version:
5.x-1.2
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
4 Feb 2008 at 17:34 UTC
Updated:
8 Mar 2008 at 09:41 UTC
Hi,
Thanks for this wonderful module :-)
I'm using drupal 5.5
When I open the "admin/help/ajaxtable_docs" page, it's look great and work well,
but when I copy-paste the first default sample to a new page/story i created,
or even if I copy-paste directly to the page.tpl.php it loaded well but after firing an event like
clicking the search button, it's seems like the callback is making the whole grid empty, except the grid header.
Attached before and after click pics
Thanks,
Amihai
| Comment | File | Size | Author |
|---|---|---|---|
| after-click.JPG | 49.49 KB | amihai.a | |
| before-click.JPG | 82.21 KB | amihai.a |
Comments
Comment #1
amihai.a commentedI gust notice that there is an Issue that look similar, though i did't get an empty page,
Issue: http://drupal.org/node/217327
Sorry if I duplicate by mistake..
Amihai
Comment #2
amihai.a commentedI now realized that I have to create my own module,
add the function from the sample(ajaxtable_table_uniqname) to the module
and on the callback function add the table to the content string ,
$page_content = ajaxtable_render("ajaxtable_uniqname");
As for now it's will do for me..
but it would be great if we could add it from the node/edit too..
Amihai
Comment #3
wookie05 commentedI might have found solution to this problem.
It's a bit brute but :) it does work.
Try to add "ajaxtable_table_uniqname" function definition to "node.module" file which You will find inf /modules/node/ directory
Then You'll be able to print correctly working table in page/story/book content with
print ajaxtable_render("uniqname")
function.
wookie05
Comment #4
amihai.a commentedthanks, i'll try it.
Comment #5
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.