Node View Handler - Taxonomy Term Selection Rule

phen0m - June 30, 2009 - 15:30
Project:Panels
Version:6.x-3.0-beta2
Component:Panel pages
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed
Description

I was wondering if it was possible to use taxonomy terms as selection rules when trying to create a handler for a node view panel page.

I was reading this post http://drupal.org/node/465070 but the scope is a little different I think.

As an example, we have a bunch of stories that can be tagged as either A or B, we want stories tagged with term A to display in one panel page, and stories tagged with term B to be displayed in another. Is my only option to split story into two content types?

Any help or guidance is appreciated! Thanks!

#1

esmerel - August 4, 2009 - 21:27

You should theoretically be able to split these by using multiple variants for the term_view, and use one variant for A and one for B. Or maybe I'm not reading your request correctly :)

#2

merlinofchaos - August 4, 2009 - 21:29
Status:active» fixed

Now that there is a PHP access plugin, you can use that to write some PHP code that will check a node's taxonomy term. You can also use a relationship to create a taxonomy context that will make this a little easier.

#3

System Message - August 18, 2009 - 21:30
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.