I have been able to pass URL parameters to a Panel and from there to a View Pane inside the Panel. However, I must pre-proccess the URL data with PHP. I have only been able to use Visibility rules with PHP in the View Pane but cannot manage to insert the PHP code in order to pass the specific PHP-modified values.

| improve this question | | | | |
  • Hi! Welcome to DA! I posted an answer below for how to do this without the php filter. The PHP module is a huge security issue, so I tend to avoid recommending it. Hopefully it helps. – Letharion Nov 19 '14 at 17:55

By far the best way to do this is to provide your own context.

See What are Ctools plugin (content type, access, etc), and how does one create them? for how ctools plugins work, and adapt one of the examples to a context plugin instead.

That way you can decide what data is passed into Panels, and on to the individual panes in a safe manner.

| improve this answer | | | | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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