Active
Project:
Ajax Table
Version:
5.x-1.2
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
12 May 2008 at 13:56 UTC
Updated:
21 May 2008 at 10:31 UTC
I really like this module, it does the job quicker than views and more user-friendly; my question is how to give dynamic parameters to it.
For example, I want to create a page index.php?q=list/4 list all the posts inside taxonomy 4. Is this possible? how can this be achieved?
thanks
Comments
Comment #1
enboig commentedI changed ajaxtable_render to accept a new parameter $override and use it when calling the table; it worked like a charm when first loading the table; but the $override is lost when updated/sorting/searching the table :'(
I was calling the function like this:
And I changed de ajaxtable.module as:
line 57: function ajaxtable_render($id,$uid='',$refresh=FALSE,$input_value='',$override=null) {
line 74: $table = $function_name($override);
Any hint of how to get this work?
Comment #2
enboig commentedWith my modifications it is possible to pass $override to ajaxtable_render(), maybe if in the table definitions the add into de array the override itself, it can be easily pass through the ajax calls.
Right now other parts of the projects are more urgent/important than this; I will take a look when I have time