Posted by macuhail on December 14, 2008 at 2:41pm
I have created a content type to which I have recently added a tags field. I display the content type in a block from a custom view. I have the block configured to list view. I added a taxonomy term field for the view. However, the tags are not showing in the block.
Does the block not display tags or have I done something wrong?
Thanks
Comments
Show us...
Can you point us towards a URL of the list view being generated? Based on your description I think we need more details before we can help.
You can see the block here.
You can see the block here. The block is in the main section on the front page under the heading "Current News".
Thanks for any suggestions.
RSS Feed...
Your list view looks like it's the product of an RSS feed. Off of the top of my head I'm guessing there wouldn't be taxonomy data from the feed for you to display. I do see things like "Yahoo" and "Wall Street Journal" in the location where your node.tpl.php template file would typicaly be calling $terms. What are you expecting to see that's missing?
Thanks for getting back to
Thanks for getting back to me. Actually, the output is from a block list view that is enabled from a view -- it is not an rss feed (though the output is similar). We have made some changes to the node.tpl.php to remove some un-needed content.
Would we be able to make changes/additions to block.tpl.php and get the tags to show? If so, can you tell me what we need to add.
Changes to block.tpl.php
Changes to block.tpl.php will result in changes at the block level. Your orginal post was inquiring about "taxonomy term field" which would be at the node level. I assume with a list view, you want to display taxonomy information for each node as listed in your block. This would involve changes to node.tpl.php. You should look for the presence of
<?phpprint $terms
?>
Let me know if this makes sense.