I have been reading and following along the examples in "Drupal's Building Blocks", (A great book. I have learned more in a couple days than through all other resources available over the past month!).

Pages 263-263 provide an example to add taxonomy terms to a page. Unfortunately, I cannot get Step 6 to work. The vocabulary category is not displayed and the context option is not shown in any other category. Is this a bug? The context for the vocabulary is presented and the fields identified in the Summary.

If I can't fix this I may never see Joe's T-shirts!!!

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Ashlar’s picture

Priority: Normal » Major

I have reviewed everything I can find regarding panels and taxonomy and have double checked entry for the example in Drupal Building Blocks.

Panels is not exposing vocabularies in the content tab. I am new to Drupal and have started with Drupal 7 working for several months to master panels, views etc. I have not been able to find a working way to pass a taxonomy term from a panel to a view or to read a taxonomy term from the url in views yet. I have seen many issues related to this concern with few or any answers. Is this feature working? If anyone has any resource that sheds some light on this problem, please let me know.

Ciraxis’s picture

i don't know 100% if it is the same problem, but i had a "similiar" problem with taxonomy filter, views and views pane. If i create a filter for the content type and then a taxonomy term filter i had no chance to select a specific term on my vocabulary. But if i first create a filter for the taxonomy term and then a filter for the content type everything works fine.

merlinofchaos’s picture

Status: Active » Fixed
FileSize
2.08 KB

The attached patch fixes this issue. It has already been committed but is provided for reference.

merlinofchaos’s picture

Project: Panels » Chaos Tool Suite (ctools)
Version: 7.x-3.x-dev » 7.x-1.x-dev
Component: Panel pages » Code

Oh I should add, this was a patch to CTools, not Panels.

andypost’s picture

Status: Fixed » Needs work
+++ b/plugins/content_types/node_context/node_content.incundefined
@@ -132,6 +132,7 @@ function ctools_node_content_render_node($node, $conf) {
+  dsm($content);

Please remove this

andypost’s picture

Status: Needs work » Needs review

Fixed in commit with something:

diff --git a/includes/context-access-admin.inc b/includes/context-access-admin.inc
index b155800..76643cf 100644 (file)
--- a/includes/context-access-admin.inc
+++ b/includes/context-access-admin.inc
@@ -99,7 +99,7 @@
  * form into your own, and instead call
  *
  * @code{
- *   $form = array_merge($form, ctools_access_admin_form($form_state));
+ *   $form = ctools_access_admin_form($form, $form_state);
  * }
  *
  * You'll be responsible for adding a submit button.
@@ -239,7 +239,7 @@ function ctools_access_admin_form_submit($form, &$form_state) {
 
   $function = $form_state['module'] . '_ctools_access_clear';
   if (function_exists($function)) {
-    $function($form_state['argument']);
+    $function($form_state['callback argument']);
   }
 }
merlinofchaos’s picture

I *really* have to start paying attention to where I do these things. I've got two different CTools directories and these things are happening because I'm confusing them. :/

merlinofchaos’s picture

Status: Needs review » Fixed
merlinofchaos’s picture

Status: Fixed » Closed (fixed)