Eval php in filter database join

guen

Member
Hello
Is-it possible to have a php condition in the filter of a database join element ?
I need to filter my list with some session's variable... I alreday do that for pre-filter in list but I have a problem with database join element because we need to give an SQL statement. (we don't have an eval button like in defalt value...)
Thank's a lot
Guen
 
Nope.

Your only option there would be to use the 'eval options' under Advanced. As well as setting the $opt->value and $opt->text, you can also return false to remove that option.

Not optimal, as that code gets run for every option, but it might do what you need.

-- hugh
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top