Download & Extend

How to show the tagging widget in the teaser or node list view?

Project:Community Tags
Version:6.x-1.x-dev
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

I use 6.x-1.x-dev.

Any patch?

Thanks.

Comments

#1

For future reference you could put something like this in your theme's template.php file:

<?php
/**
* Preprocess node.
*/
function phptemplate_preprocess_node(&$vars) {
 
// add CT form if teaser
 
if ($vars['teaser']) {
   
$vars['content'] .= community_tags_node_view($vars['node'], TRUE);
  }
}
?>

This is where it would be nice to have more options when calling community_tags_node_view() as proposed here: #548480: Expand API to include customizable form.

#2

Status:active» fixed

#3

Status:fixed» closed (fixed)

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