How to Access List Filter Settings in PHP?

Status
Not open for further replies.

rackem

Well-Known Member
I'm curious if there is a way to get a list's filter settings in PHP?

I have a list of people with a calc element as one column that acts like Fabrik's "related data" functionality - it links to another list filtered to that person's data. What I'd like to do here is have some custom "Sourcerer" code running in this secondary list's intro section to display some additional information about the player. So I'm hoping for a way to pull the selected player ID from the list filter using PHP, or some other way to accomplish this task.
 
"Related data" is URL filtering (....&table_element_raw=parentid...)
So you can get the URL parameter via something like
Code:
$myapp = JFactory::getApplication();
$myparam = $myapp->input->get('table_element_raw','');
 
Found an issue with this approach. :( The data is no longer present after making a change to the Fabrik list, like changing number of records in the list, navigating to another page (start, prev, #, next, end), or sorting a column.

Is there another way to get the Fabrik filter info using PHP?
 
Status
Not open for further replies.
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top