As ridiculous as it sounds, passing arguments from panel to views in Drupal 6 is a very, very difficult job, judging from the responses collected from the official Drupal Forum. I myself spent quite a lot of times wrestling over it. So I think it's worthwhile for me to post the solution.
Here's how you can pass an argument from a panel to a view in Drupal.
- First of all, of course you need to have Views Module and Panels Module installed.
- Go to admin/build/views, choose the View you want to edit. Assuming that in this case, you want to define Taxonomy Term as the argument. So you will have to define the Arguments field as follows ( here's a tutorial on how to define a View)
- Now, go to your Panels page ( admin/panels/panel-page), Set the Path at the Settings tab as faculty/%. This means that the term after faculty/ will be the argument. For example, if your URL is faculty/abc, then abc will be the argument.
- Go to the Context tab, at the Arguments section, choose Taxonomy Term, and click Add argument. At the Edit argument form, set the Identifier as "my term", and the keyword as "term". Set the Argument type as "Term name", as shown below:
- Click OK.
- Go to Content tab, Select the View that you defined in step 1, make sure you choose the panel pane selection.
- At the Configure Panel pane form, make sure you choose "No context" as the Taxonomy Term, check the Send Arguments box. In the Arguments field there, type in %term
- Note that you must set the Taxonomy Term to No Context, or else the view won't work. I don't know why, most probably it's a bug.
- And that's it!