Closed (fixed)
Project:
Views PHP Filter
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
2 Sep 2009 at 08:49 UTC
Updated:
7 Dec 2009 at 18:37 UTC
Hello,
Would it be possible to have this php filter exposed as checkboxes above the View?
This way user can make changes to the filter.
Thank you very much in advance!
Comments
Comment #1
gnassar commentedThe PHP filter cannot be checkboxes, because its content is PHP. I'm not sure I'm clear on how you would put checkboxes on your PHP code.
What it sounds like you may want to do is have a custom filter exposed, which would have a particular set of criteria to filter for. There is no way to do that with a raw PHP filter. The flexibility of allowing any arbitrary PHP code makes it so you couldn't possibly make an exposed filter interface that would work for all cases.
Comment #2
gnassar commented