Closed (duplicate)
Project:
Taxonomy Image
Version:
5.x-1.0-beta1
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
2 Feb 2007 at 08:10 UTC
Updated:
8 Feb 2008 at 18:06 UTC
Drupal V5.1 - Tax Image 5.1 Beta
I'm hoping someone might be able to help weggie this 'taxonomy_image_display()' into the correct place - I'm making a mess of it - all day
<div id="node-<?php print $node->nid; ?>" class="node<?php if ($sticky) { print ' sticky'; } ?><?php if (!$status) { print ' node-unpublished'; } ?> clear-block">
<?php print $picture ?>
<?php if ($page == 0): ?>
<h2><a href="<?php print $node_url ?>" title="<?php print $title ?>"><?php print $title ?></a></h2>
<?php endif; ?>
<div class="meta">
<?php if ($submitted): ?>
<span class="submitted"><?php print $submitted ?></span>
<?php endif; ?>
<?php
$vocabularies = taxonomy_get_vocabularies();
foreach($vocabularies as $vocabulary) {
if ($vocabularies) {
$terms = taxonomy_node_get_terms_by_vocabulary($node->nid, $vocabulary->vid);
if ($terms) {
$links1 = array();
print '<li>' . $vocabulary->name . ': ';
foreach ($terms as $term) {
$links1[] = l($term->name, taxonomy_term_path($term), array('rel' => 'tag', 'title' => strip_tags($term->description)));
}
print implode(', ', $links1);
print '</li>';
}
}
}
?>
</div>
<div class="content">
<?php print $content ?>
</div>
<?php
if ($links) {
print $links;
}
?>
</div>
I'm getting better at this, but this is one has me
thanks
Comments
Comment #1
nancydruHave you figured it out yet?
Comment #2
nancydruhttp://drupal.org/node/199061