Index: panels_taxonomy.module =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/panels_taxonomy/panels_taxonomy.module,v retrieving revision 1.4.2.8 diff -u -r1.4.2.8 panels_taxonomy.module --- panels_taxonomy.module 23 Aug 2007 19:57:00 -0000 1.4.2.8 +++ panels_taxonomy.module 1 Dec 2007 15:47:51 -0000 @@ -137,12 +137,15 @@ /** * Returns the form for a new taxonomy browser. */ -function panels_taxonomy_add($id) { - $conf = array('vid' => $id, 'arg position' => 1, 'validate arg' => 1); - return panels_taxonomy_edit($conf); +function panels_taxonomy_add($id, $parents, $conf = array()) { + $conf['vid'] = $id; + $conf['arg position'] = 1; + $conf['validate arg'] = 1; + + return panels_taxonomy_edit($id, $parents, $conf); } -function panels_taxonomy_edit($conf = array()) { +function panels_taxonomy_edit($id, $parents, $conf = array()) { $form['#taxonomy'] = TRUE; $form['help'] = array('#weight' => -1, '#value'=>'
Provides navigation for a vocabulary. In order to actually display the nodes associated with the current term, you should add one or more views to your panel with a "vocabulary" argument.
Note: The views should be set to "embedded".
'); $form['vid'] = array(