Drupal: How can one use Context to trigger a reaction for a Taxonomy Term condition caused by a Vie
Posted
by jschrab
on Stack Overflow
See other posts from Stack Overflow
or by jschrab
Published on 2010-05-20T15:16:23Z
Indexed on
2010/05/21
0:20 UTC
Read the original article
Hit count: 475
What I would like to do is use the Context module to insert $body_classes of my choosing based on a Taxonomy Term condition. Fine, that's what the Context module is for. Seems simple enough IF your content/page source is a node that is involved with the appropriate Terms. However, I have a page generated by Views that has the appropriate Taxonomy Term id that SHOULD trigger the condition but it doesn't.
Now I could set my $body_classes in a "preprocess" in template.php but I'd rather avoid that. Is this even possible in Context? Or am I just doing something wrong?
© Stack Overflow or respective owner