If I already have a view with a php filter or a php field, in drupal 7, how can I convert my whole view into a page? (prevent code injections or other security risks) What is the right way to resolve this? Writing a module or a tpl.php file? Thanks

1 Answer 1


Found the answer here

Custom Views Field Handler https://kalamuna.atlassian.net/wiki/display/KALA/Custom+Views+Field+Handler

  • While this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference. Link-only answers can become invalid if the linked page changes. - From Review Commented Jul 27, 2017 at 12:03
  • Well, i am still working on my solution. Currently i have a php field in a view, and i want to use my own custom module with a view handler to delete that php field. The link gives me some idea of what i need to do, but still no results. Once i achieve what i want i'll write it here as a solution. Commented Jul 28, 2017 at 9:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.