Within my exp:channel:entries
tag, I am using the categories
tag pair to show the categories that the entry is in. However, it is only showing the last category that the entry is in:
{exp:channel:entries}
<h3><a href="{url_title_path='photos'}">{title}</a></h3><br />
{image_upload}
<img src="{path}_thumbs/{filename}.{extension}" />
{/image_upload}
<a href="{url_title_path='photos/printing'}">Print this photo</a><br />
Categories: {categories backspace="2"}{category_name}, {/categories}<br />
{/exp:channel:entries}
This is the same on both the development and live sites.
There are a number of categories in the database (a couple of hundred), but each entry is only in around 2 or 3 categories. The correct categories are all selected when editing the entry in the admin panel.
channel
parameter in theexp:channel:entries
tag with the correct channel name?